参考typeorm,对主键字段generated功能完善支持
Created by: yinlianghui
/**
* Specifies if this column will use auto increment (sequence, generated identity, rowid).
* Note that in some databases only one column in entity can be marked as generated, and it must be a primary column.
*/
generated?: boolean|"increment"|"uuid"|"rowid";
- 我们暂时只支持boolean
关联任务:字段的属性generated为true时, 强制设置omit属性为true #53 (closed)