书栈网 · BookStack 本次搜索耗时 0.031 秒,为您找到 469 个相关结果.
  • Concurrent/Partial transactions

    Concurrent/Partial transactions Without CLS enabled Concurrent/Partial transactions You can have concurrent transactions within a sequence of queries or have some of them excl...
  • FAQ

    FAQ What Node versions does Feathers support How do I create custom methods? How do I do nested or custom routes? Can you support another database? I am not getting real-time e...
  • 数据库

    获取 sqlite3 图形化界面管理工具 为了简单的模拟数据库行为,我们使用最小的数据库 sqlite3,下载 sqlite3 直接到官网的 download 页面,注意,假如您是 win 请下载 sqlite-tools-win32-x86-3170000.zip ,假如您是其他操作系统,相信您应该具有分辨下载哪一个的能力。 然后把解压好的东西放在你...
  • Eager Loading - 预先加载

    Eager Loading - 预先加载 基本示例 获取单个关联元素 获取所有关联的元素 获取别名关联 需要预先加载 在模型级别的预先加载过滤 参考其他列 顶层的复杂 where 子句 使用 RIGHT OUTER JOIN 获取 (仅限 MySQL, MariaDB, PostgreSQL 和 MSSQL) 多次预先加载 多对多关系的...
  • Indexes - 索引

    Indexes - 索引 Indexes - 索引 Sequelize 支持在模型定义上添加索引,该索引将在 sequelize.sync() 上创建 const User = sequelize . define ( 'User' , { /* 属性 */ }, { indexes : [ ...
  • Working in bulk (creating, updating and destroying multiple rows at once)

    Working in bulk (creating, updating and destroying multiple rows at once) Working in bulk (creating, updating and destroying multiple rows at once) In addition to updating a si...
  • 并行/部分事务

    并行/部分事务 不启用CLS 并行/部分事务 你可以在一系列查询中执行并发事务,或者将某些事务从任何事务中排除. 使用 {transaction: } 选项来控制查询所属的事务: 警告: SQLite 不能同时支持多个事务. 不启用CLS sequelize . transaction ( t1 => { return ...
  • Paranoid

    Paranoid Defining a model as paranoid Deleting Restoring Behavior with other queries Paranoid Sequelize supports the concept of paranoid tables. A paranoid table is one tha...
  • Eager loading

    Eager loading Top level where with eagerly loaded models Including everything Including soft deleted records Ordering Eager Loaded Associations Nested eager loading Use right ...
  • Datatypes

    Class DataTypes STRING() CHAR() TEXT() INTEGER() BIGINT() FLOAT() REAL() DOUBLE() DECIMAL() BOOLEAN() TIME() DATE() DATEONLY() HSTORE() JSON() JSONB() NOW() BLOB()...