Answers for "typeorm versioncolumn"

0

typeorm versioncolumn

/*
* Special column that is automatically set to the entity's 
* version (incremental number) each time you call save from 
* entity manager or repository. You don't need to write 
* a value into this column - it will be automatically set.
*/
@Entity()
export class User {

    @VersionColumn()
    version: number;

}
Posted by: Guest on March-23-2022

Code answers related to "typeorm versioncolumn"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language