mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 10:27:04 +00:00
4d6363b47a
* docs: update database repository docs * docs: single relation repository docs * docs: has many relation repository docs * docs: belongs to many relation repository docs * docs: acl * docs: actions Co-authored-by: chenos <chenlinxh@gmail.com>
246 B
246 B
类型
type FindOneOptions = Omit<FindOptions, 'limit'>;
参数
大部分参数与 find()
相同,不同之处在于 findOne()
只返回单条数据,所以不需要 limit
参数,且查询时始终为 1
。