1. 首页
  2. 移动开发
  3. 其他
  4. mongoose taggable:用于添加标签和可标记行为的mongoose插件 源码

mongoose taggable:用于添加标签和可标记行为的mongoose插件 源码

上传者: 2021-04-04 10:45:24上传 ZIP文件 57.41KB 热度 17次
猫鼬标签 猫鼬插件添加标签和可标记的行为。 要求 NodeJS v9.3 + 安装 $ npm install --save mongoose @lykmapipo/mongoose-taggable 用法 const mongoose = require ( 'mongoose' ) ; const taggable = require ( '@lykmapipo/mongoose-taggable' ) ; const UserSchema = new Schema ( { name : { type : String , taggable : true } } ) ; UserSche
下载地址
用户评论