书栈网 · BookStack 本次搜索耗时 0.012 秒,为您找到 469 个相关结果.
  • Paranoid - 偏执表

    Paranoid - 偏执表 将模型定义为 paranoid 删除 恢复 其他查询行为 Paranoid - 偏执表 Sequelize 支持 paranoid 表的概念. 一个 paranoid 表是一个被告知删除记录时不会真正删除它的表.反而一个名为 deletedAt 的特殊列会将其值设置为该删除请求的时间戳. 这意味着偏执表会执...
  • Hooks - 钩子

    Hooks - 钩子 Hooks - 钩子 Hook(也称为生命周期事件)是执行 sequelize 调用之前和之后调用的函数. 例如,如果要在保存模型之前始终设置值,可以添加一个 beforeUpdate hook. 注意: 你不能将 hook 与实例一起使用。 hook 用于模型. 获取完整列表, 请查看 Hooks file .
  • Unmanaged transaction (then-callback)

    Unmanaged transaction (then-callback) Unmanaged transaction (then-callback) Unmanaged transactions force you to manually rollback or commit the transaction. If you don't do tha...
  • Table Hint

    Table Hint Table Hint tableHint can be used to optionally pass a table hint when using mssql. The hint must be a value from Sequelize.TableHints and should only be used when ...
  • Third-Party Tools Supported by TiDB

    Third-Party Tools Supported by TiDB Support Level Driver ORM GUI Third-Party Tools Supported by TiDB Note This document only lists common third-party tools supported by ...
  • 指南

    Active Record 与 Data Mapper MongoDB 使用 Validation 使用 TypeORM 和 Express 的示例 使用 JavaScript 从 Sequelize 迁移到 TypeORM
  • Migrations

    Migrations Migrations Just like you use Git / SVN to manage changes in your source code, you can use migrations to keep track of changes to the database. With migrations you ca...
  • Optimistic Locking

    Optimistic Locking Optimistic Locking Sequelize has built-in support for optimistic locking through a model instance version count. Optimistic locking is disabled by default a...
  • Optimistic Locking

    Optimistic Locking Optimistic Locking Sequelize has built-in support for optimistic locking through a model instance version count.Optimistic locking is disabled by default and...
  • Associations

    Associations Associations Sequelize has two different but related scope concepts in relation to associations. The difference is subtle but important: Association scopes Allo...