书栈网 · BookStack 本次搜索耗时 0.025 秒,为您找到 469 个相关结果.
  • 3.4 多对多

    1096 2020-01-12 《Sequelize ORM 实践》
    多对多 实例 1.新建 tag.ts 文件 2.在 user.ts 添加关系代码 3.在 index.ts 里面添加验证代码 多对多 在如今的社会,我们非常喜欢给人打上标签,比如 颜值逆天 、暖烘烘 、高富帅 等等。高富帅并不是某一个人的专利,一个人可以被别人打上多个标签,一个标签也可以打在多个人上面。这就是多对多关系。 声明多对多关系需要...
  • Resources - 资源

    Resources - 资源 组件 & 插件 ACL Auto Code Generation & Scaffolding Autoloader Caching Filters Fixtures / mock data Hierarchies Historical records / Time travel Migrations Slugi...
  • Resources - 资源

    Resources - 资源 Addons & Plugins ACL Auto Code Generation & Scaffolding Autoloader Caching Filters Fixtures / mock data Hierarchies Historical records / Time travel Migratio...
  • Resources

    Resources Addons & Plugins ACL Auto Code Generation & Scaffolding Autoloader Caching Filters Fixtures / mock data Hierarchies Historical records / Time travel Migrations S...
  • 隔离等级

    隔离等级 隔离等级 启动事务时可能使用的隔离等级: Sequelize . Transaction . ISOLATION_LEVELS . READ_UNCOMMITTED // "READ UNCOMMITTED" Sequelize . Transaction . ISOLATION_LEVELS . READ_COMMITTED /...
  • Breaking Changes

    Breaking Changes Support for Node 6 and up Secure Operators Typescript Support Pooling Model Datatypes Hooks Sequelize Query Interface Others Dialect Specific MSSQL MySQ...
  • 扩展数据类型

    扩展数据类型 扩展数据类型 你尝试实现的类型很可能已包含在 DataTypes 中. 如果未包含新数据类型,本手册将说明如何自行编写. Sequelize 不会在数据库中创建新的数据类型. 本教程介绍如何使 Sequelize 识别新的数据类型,并假设已在数据库中创建了这些新的数据类型. 要扩展 Sequelize 数据类型,请在创建任何实例之...
  • Definition

    Definition Data types Deferrable Getters & setters Defining as part of a property Defining as part of the model options Helper functions for use inside getter and setter defin...
  • Getting started

    Getting started Installation Setting up a connection Test the connection Your first model Your first query Application wide model options Promises Getting started Inst...
  • Getting Started

    Getting Started Installing Connecting to a database Testing the connection Closing the connection Terminology convention Tip for reading the docs New databases versus existin...