mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: Added enumName column option (#7570)
Added minor documentation for #4824
This commit is contained in:
parent
1656a11c89
commit
acc7994ce1
@ -569,6 +569,7 @@ You can change it by specifying your own name.
|
||||
* `charset: string` - Defines a column character set. Not supported by all database types.
|
||||
* `collation: string` - Defines a column collation.
|
||||
* `enum: string[]|AnyEnum` - Used in `enum` column type to specify list of allowed enum values. You can specify array of values or specify a enum class.
|
||||
* `enumName: string` - Defines the name for the used enum.
|
||||
* `asExpression: string` - Generated column expression. Used only in [MySQL](https://dev.mysql.com/doc/refman/5.7/en/create-table-generated-columns.html).
|
||||
* `generatedType: "VIRTUAL"|"STORED"` - Generated column type. Used only in [MySQL](https://dev.mysql.com/doc/refman/5.7/en/create-table-generated-columns.html).
|
||||
* `hstoreType: "object"|"string"` - Return type of `HSTORE` column. Returns value as string or as object. Used only in [Postgres](https://www.postgresql.org/docs/9.6/static/hstore.html).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user