Referensi API NocoBase
@nocobase/auth
@nocobase/cache
@nocobase/app
- TZ
- APP_ENV
- APP_KEY
- APP_PORT
- API_BASE_PATH
- API_BASE_URL
- CLUSTER_MODE
- PLUGIN_PACKAGE_PREFIX
- DB_DIALECT
- DB_HOST
- DB_PORT
- DB_DATABASE
- DB_USER
- DB_PASSWORD
- DB_TABLE_PREFIX
- DB_UNDERSCORED
- DB_LOGGING
- LOGGER_TRANSPORT
- LOGGER_BASE_PATH
- LOGGER_LEVEL
- LOGGER_MAX_FILES
- LOGGER_MAX_SIZE
- LOGGER_FORMAT
- CACHE_DEFAULT_STORE
- CACHE_MEMORY_MAX
- CACHE_REDIS_URL
- TELEMETRY_ENABLED
- TELEMETRY_METRIC_READER
- TELEMETRY_TRACE_PROCESSOR
@nocobase/cli
@nocobase/client
@nocobase/database
- Ikhtisar
- Constructor
- Anggota Instance
optionscontextnamedbfilterTargetKeyisThroughmodelrepository- Method Konfigurasi Field
getField()setField()setFields()removeField()resetFields()hasField()findField()forEachField()- Method Konfigurasi Index
addIndex()removeIndex()- Method Konfigurasi Tabel
remove()- Method Operasi Database
sync()existsInDb()removeFromDb()
- Ikhtisar
- Constructor
- Anggota Instance
nametypedataTypeoptionscontext- Method Konfigurasi
on()off()bind()unbind()get()merge()remove()- Method Database
removeFromDb()existsInDb()- Daftar Tipe Field Bawaan
'boolean''integer''bigInt''double''real''decimal''string''text''password''date''time''array''json''jsonb''uuid''uid''formula''radio''sort''virtual''belongsTo''hasOne''hasMany''belongsToMany'
- Operator Umum
$eq$ne$is$not$col$in$notIn$empty$notEmpty- Operator Logika
$and$or- Operator Field Tipe Boolean
$isFalsy$isTruly- Operator Field Tipe Numerik
$gt$gte$lt$lte$between$notBetween- Operator Field Tipe String
$includes$notIncludes$startsWith$notStatsWith$endsWith$notEndsWith$like$notLike$iLike$notILike$regexp$notRegexp$iRegexp$notIRegexp- Operator Field Tipe Tanggal
$dateOn$dateNotOn$dateBefore$dateNotBefore$dateAfter$dateNotAfter- Operator Field Tipe Array
$match$notMatch$anyOf$noneOf$arrayEmpty$arrayNotEmpty- Operator Tipe Field Relasi
$exists$notExists
@nocobase/data-source-manager
@nocobase/flow-engine
- Properti Umum
- Method Umum
- Terkait Request
- Terkait Dialog
- Kontrol Eksekusi Flow
- Action dan Event
- Permission
- Lainnya
- Pola Penggunaan Umum dalam Pengembangan Plugin
- Menampilkan pesan di click handler
- Membuat record melalui dialog
- Mendapatkan data baris saat ini (operasi level record)
- Mengoperasikan data melalui resource
- Tautan Terkait
- MultiRecordResource
- Operasi Data
- Pagination
- Baris Terpilih
- Contoh: Penggunaan dalam CollectionBlockModel
- Contoh: Memanggil CRUD dalam Tombol Action
- Contoh: Cheat Sheet Operasi CRUD
- SingleRecordResource
- Operasi Data
- Properti Kunci
- Contoh: Skenario Form Detail
- Contoh: Membuat dan Mengedit Record
- Method Umum
- Filter
- Kontrol Field
- Konfigurasi Resource
- Metadata dan Status
- Event
- Sintaks Filter
- Perbandingan MultiRecordResource dan SingleRecordResource
- Tautan Terkait
@nocobase/logger
@nocobase/server
- Properti Class
- on
- appVersion
- Properti Instance
- app
- db
- plugin
- sequelize
- queryInterface
- pm
- Method Instance
- up()
- down()
- Contoh Lengkap
- Menggunakan API Repository untuk update data (afterLoad)
- Menggunakan QueryInterface untuk memodifikasi struktur tabel (beforeLoad)
- Menggunakan raw SQL (afterSync)
- Membuat File Migration
- Tautan Terkait

