meteor-created-at-updated-at:流星SimpleSchema自动创建和更新字段

时间:2024-06-06 02:03:35
【文件属性】:

文件名称:meteor-created-at-updated-at:流星SimpleSchema自动创建和更新字段

文件大小:11KB

文件格式:ZIP

更新时间:2024-06-06 02:03:35

JavaScript

流星SimpleSchema自动创建和更新字段 轻松地将createAt和updatedAt字段添加到您的模式。 安装 meteor add fuww:created-at-updated-at 用法 createdAt和updatedAt import { createdAtUpdatedAtSchema } from 'meteor/fuww:created-at-updated-at' ; const citySchema = new SimpleSchema ( [ { name : { type : String } , state : { type : String , optional : true } , country : { type : String } } , createdAtUpdatedAtSchem


【文件预览】:
meteor-created-at-updated-at-master
----.eslintrc(1KB)
----shared()
--------main.js(532B)
--------models()
----package.js(989B)
----test()
--------shared()
--------client()
--------server()
----README.md(1KB)
----.versions(1KB)
----.gitignore(13B)
----package.json(274B)

网友评论