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

    Extending datatypes Extending datatypes Most likely the type you are trying to implement is already included in DataTypes . If a new datatype is not included, this manual will ...
  • Setting up a connection

    Setting up a connection Note: setting up SQLite Note: connection pool (production) Testing the connection Closing the connection Setting up a connection To connect to the d...
  • 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...
  • Model definition - 模型定义

    Model definition - 模型定义 Model definition - 模型定义 要定义模型和表之间的映射,请使用 define 方法. 每列必须具有数据类型,请参阅 [datatypes][1] 的更多信息. class Project extends Model {} Project . init ({ ...
  • Model definition - 模型定义

    Model definition - 模型定义 时间戳 数据类型 Array(ENUM) 范围类型 可延迟 Getters & setters 定义为属性定义的一部分 定义为模型参数的一部分 用于 getter 和 setter 定义内部的 Helper 方法 验证 验证器 与 allowNull 模型验证 配置 导入 乐观锁定...
  • 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 Installing Connecting to a database Testing the connection Closing the connection Terminology convention Tip for reading the docs New databases versus existin...
  • Modeling a table

    Modeling a table Changing the default model options Modeling a table A model is a class that extends Sequelize.Model . Models can be defined in two equivalent ways. The first,...
  • Model definition

    Model definition Model definition To define mappings between a model and a table, use the define method. Each column must have a datatype, see more about datatypes . class ...