书栈网 · BookStack 本次搜索耗时 0.041 秒,为您找到 464 个相关结果.
  • Hooks

    Hooks Order of Operations Declaring Hooks Removing hooks Global / universal hooks Sequelize.options.define (default hook) Sequelize.addHook (permanent hook) Instance hooks Mo...
  • Associations

    Associations Associations For the most part hooks will work the same for instances when being associated except a few things When using add/set functions the beforeUpdate/aft...
  • Validations

    Validations Per-attribute validations Per-attribute validators and allowNull Model-wide validations Validations Model validations allow you to specify format/content/inherit...
  • Read Replication - 读取复制

    Read Replication - 读取复制 Read Replication - 读取复制 Sequelize 支持 读取复制 , 即,当你要执行 SELECT 查询时,可以连接多个服务器. 当你执行读取复制时,你可以指定一台或多台服务器充当读取副本,并指定一台服务器充当写入主机,该主机处理所有写入和更新并将它们传播到副本(请注意,实际复制过程...
  • Promises and async/await

    Promises and async/await Promises and async/await As shown above by the extensive usage of .then calls, Sequelize uses Promises extensively. This means that, if your Node vers...
  • Belongs-To-Many associations

    Belongs-To-Many associations Source and target keys Belongs-To-Many associations Belongs-To-Many associations are used to connect sources with multiple targets. Furthermore th...
  • Database

    1052 2020-06-13 《Nest.js v7.0 Document》
    Database TypeORM Integration Repository pattern Relations Auto-load entities Transactions Hoodies, T-shirts, and accessories! Subscribers Migrations Multiple databases Tes...
  • Database synchronization

    Database synchronization Database synchronization When starting a new project you won't have a database structure and using Sequelize you won't need to. Just specify your model...
  • Raw queries

    Replacements Bind Parameter As there are often use cases in which it is just easier to execute raw / already prepared SQL queries, you can utilize the function sequelize.query ...
  • Migrations - 迁移

    Migrations - 迁移 安装 CLI 项目启动 结构 创建第一个模型(和迁移) 运行迁移 撤消迁移 创建第一个种子 运行种子 撤销种子 高级专题 .sequelizerc 文件 动态配置 使用 Babel 安全提示 存储 迁移存储 种子储存 配置连接字符串 程序用法 Migrations - 迁移 就...