typeorm#ObjectIdColumn TypeScript Examples

The following examples show how to use typeorm#ObjectIdColumn. 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: OCKTask.ts    From IBM-HyperProtectMBaaS with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
@ObjectIdColumn()
  _id: ObjectID;
Example #2
Source File: Notification.ts    From GoBarber with MIT License 5 votes vote down vote up
@ObjectIdColumn()
  id: ObjectID;
Example #3
Source File: Notification.ts    From gobarber-project with MIT License 5 votes vote down vote up
@ObjectIdColumn()
  id: ObjectID;
Example #4
Source File: Migration.ts    From fosscord-server with GNU Affero General Public License v3.0 5 votes vote down vote up
PrimaryIdAutoGenerated = process.env.DATABASE?.startsWith("mongodb")
	? ObjectIdColumn
	: PrimaryGeneratedColumn
Example #5
Source File: BaseClass.ts    From fosscord-server with GNU Affero General Public License v3.0 5 votes vote down vote up
PrimaryIdColumn = process.env.DATABASE?.startsWith("mongodb") ? ObjectIdColumn : PrimaryColumn
Example #6
Source File: NoSqlBase.ts    From confidential-storage with Apache License 2.0 5 votes vote down vote up
@ObjectIdColumn({ name: 'id' })
  _id!: string;
Example #7
Source File: NoSqlBase.ts    From confidential-storage with Apache License 2.0 5 votes vote down vote up
@ObjectIdColumn()
  id!: string;
Example #8
Source File: uuid.ts    From IBM-HyperProtectMBaaS with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
@ObjectIdColumn()
  _id: ObjectID;
Example #9
Source File: User.ts    From IBM-HyperProtectMBaaS with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
@ObjectIdColumn()
  id: ObjectID;
Example #10
Source File: Notification.ts    From gobarber-api with MIT License 5 votes vote down vote up
@ObjectIdColumn()
  id: ObjectID;
Example #11
Source File: OCKRevisionRecord.ts    From IBM-HyperProtectMBaaS with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
@ObjectIdColumn()
  _id: ObjectID;
Example #12
Source File: OCKPatient.ts    From IBM-HyperProtectMBaaS with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
@ObjectIdColumn()
  _id: ObjectID;
Example #13
Source File: OCKOutcome.ts    From IBM-HyperProtectMBaaS with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
@ObjectIdColumn()
  _id: ObjectID;
Example #14
Source File: OCKContact.ts    From IBM-HyperProtectMBaaS with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
@ObjectIdColumn()
  _id: ObjectID;
Example #15
Source File: OCKCarePlan.ts    From IBM-HyperProtectMBaaS with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
@ObjectIdColumn()
  _id: ObjectID;
Example #16
Source File: KnowledgeVector.ts    From IBM-HyperProtectMBaaS with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
@ObjectIdColumn()
  _id: ObjectID;
Example #17
Source File: Notification.ts    From hotseat-api with MIT License 5 votes vote down vote up
@ObjectIdColumn()
  id: ObjectID;