typeorm#VersionColumn TypeScript Examples

The following examples show how to use typeorm#VersionColumn. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: abstract.entity.ts    From life-helper-backend with MIT License 6 votes vote down vote up
/**
   * 自动存储计数(更新次数)
   *
   *
   * ### 说明
   *
   * ```markdown
   * 1. 当前列由框架自动维护,禁止在代码中手动更新。
   * ```
   */
  @VersionColumn({
    select: false,
    comment: '自动存储计数(更新次数)',
  })
  version: number
Example #2
Source File: ChatCategory.entity.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
@VersionColumn()
  version: number;
Example #3
Source File: ChatMessage.entity.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
@VersionColumn()
  version: number;
Example #4
Source File: ChatRoom.entity.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
@VersionColumn()
  version: number;
Example #5
Source File: Comment.entity.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
@VersionColumn()
  version: number;
Example #6
Source File: CommentEmotion.entity.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
@VersionColumn()
  version: number;
Example #7
Source File: CommentStat.entity.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
@VersionColumn()
  version: number;
Example #8
Source File: User.entity.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
@VersionColumn()
  version: number;
Example #9
Source File: AbstractWarthogModel.ts    From squid with GNU General Public License v3.0 5 votes vote down vote up
@VersionColumn()
  version!: number