autoincrement query runer typeorm code example
Example: typeorm auto increment id
import {Entity, PrimaryGeneratedColumn} from 'typeorm';
@Entity()
export class SomeWhat{
@PrimaryGeneratedColumn('increment')
public id: number;
....
import {Entity, PrimaryGeneratedColumn} from 'typeorm';
@Entity()
export class SomeWhat{
@PrimaryGeneratedColumn('increment')
public id: number;
....