Answers for "typeorm auto increment id"

0

typeorm auto increment id

import {Entity, PrimaryGeneratedColumn} from 'typeorm';

@Entity()
export class SomeWhat{

    @PrimaryGeneratedColumn('increment')
    public id: number;
....
Posted by: Guest on November-04-2020

Browse Popular Code Answers by Language