书栈网 · BookStack 本次搜索耗时 0.043 秒,为您找到 243 个相关结果.
  • 订阅者和监听者装饰器

    订阅者和监听者装饰器 @AfterLoad @BeforeInsert @AfterInsert @BeforeUpdate @AfterUpdate @BeforeRemove @AfterRemove @EventSubscriber 订阅者和监听者装饰器 @AfterLoad 你可以在实体中定义具有任何名称...
  • Getting Started

    TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ioni...
  • Working with Relations

    Working with Relations Working with Relations RelationQueryBuilder is a special type of QueryBuilder which allows you to work with your relations.Using it, you can bind entit...
  • Find 选项

    Find 选项 基础选项 进阶选项 Find 选项 基础选项 所有存储库和管理器find 方法都接受可用于查询所需数据的特殊选项,而无需使用QueryBuilder : select - 表示必须选择对象的哪些属性 userRepository . find ({ select : [ "firstName" , "las...
  • 数据库连接

    数据库连接 什么是Connection 创建新的连接 使用ConnectionManager 使用连接 数据库连接 什么是Connection 只有在建立连接后才能与数据库进行交互。 TypeORM 的Connection 不会像看起来那样设置单个数据库连接,而是设置连接池。 如果你对数据库连接感兴趣,请参阅QueryRunner ...
  • Working with MongoDB

    MongoDB MongoDB support Defining entities and columns Defining subdocuments (embed documents) Using MongoEntityManager and MongoRepository createCursor createEntityCursor ...
  • Database

    1077 2020-06-13 《Nest.js v7.0 Document》
    Database TypeORM Integration Repository pattern Relations Auto-load entities Transactions Hoodies, T-shirts, and accessories! Subscribers Migrations Multiple databases Tes...
  • View Entities

    View Entities What is View Entity? View Entity columns Complete example View Entities What is View Entity? View Entity columns Complete example What is View Entity? V...
  • Eager and Lazy Relations

    Eager and Lazy Relations Eager relations Lazy relations Eager and Lazy Relations Eager relations Eager relations are loaded automatically each time you load entities from t...
  • Working with Connection

    Working with Connection What is Connection Creating a new connection Using ConnectionManager Working with connection Working with Connection What is Connection Creatin...