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

    Hooks Hooks Hooks (also known as lifecycle events), are functions which are called before and after calls in sequelize are executed. For example, if you want to always set a va...
  • Scopes

    Definition Usage Merging Associations Definition Scoping allows you to define commonly used queries that you can easily use later. Scopes can include all the same attribute...
  • 非托管事务(then-callback)

    非托管事务(then-callback) 非托管事务(then-callback) 非托管事务强制你手动回滚或提交交易. 如果不这样做,事务将挂起,直到超时. 要启动非托管事务,请调用 sequelize.transaction() 而不用 callback(你仍然可以传递一个选项对象),并在返回的 promise 上调用 then . 请注意,c...
  • Associations

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

    Migrations - 迁移 Migrations - 迁移 就像你使用Git / SVN来管理源代码的更改一样,你可以使用迁移来跟踪数据库的更改. 通过迁移,你可以将现有的数据库转移到另一个状态,反之亦然:这些状态转换将保存在迁移文件中,它们描述了如何进入新状态以及如何还原更改以恢复旧状态. 你将需要[Sequelize CLI][0]. CL...
  • Hooks - 钩子

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

    Known Incompatibility Issues with Third-Party Tools General incompatibility SELECT CONNECTION_ID() returns a 64-bit integer in TiDB TiDB does not maintain Com_* counters TiDB d...
  • 相关资料

    相关资料 相关资源 使用 NestJS 的项目 常用库 集成 运行 相关资料 相关资源 官方资源 官方网站 官方文档 API 参考 GitHub Repo 文档 中文文档 社区 Gitter Discord Telegram (社区维护) Telegram (俄罗斯社区) Slack (韩语社区)...
  • 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 ...