tachybase_todo/docs/plugins/concepts/collections.md
chenos d5d0e1036b
docs: add docs (#75)
* docs: add docs

* ignore dumi theme test

* fix: error TS2717: Subsequent property declarations must have the same type.

* update docs

* deploy gh-pages

* plugins docs

* hash & cname

* exportStatic

* ssr

* vercel

* vercel

* fix: deploy vercel

* Delete vercel.json

* docs

* fix APP_DIST

* on master branch
2021-04-17 21:33:21 +08:00

25 lines
295 B
Markdown

---
title: Collections - 数据集
---
# Collections - 数据集
与 database.table 用法一致
```ts
export default {
name: 'examples',
fields: [],
}
```
配置扩展
```ts
import { extend } from '@nocobase/database';
export default extend({
name: 'examples',
fields: [],
});
```