mirror of
https://github.com/jlengrand/exposed-wiki.git
synced 2026-03-10 08:11:18 +00:00
Updated DataTypes (markdown)
This commit is contained in:
committed by
Andrey.Tarashevskiy
parent
54efa6e31f
commit
481f78b0df
28
DataTypes.md
28
DataTypes.md
@@ -1,18 +1,18 @@
|
||||
Currently Exposed support the following data types:
|
||||
`integer` - translates to DB `INT`
|
||||
`long` - `BIGINT`
|
||||
`bool` - `BOOLEAN`
|
||||
`char` - `CHAR`
|
||||
`varchar` - `VARCHAR` with length
|
||||
`text` - `TEXT`
|
||||
`decimal` - `DECIMAL` with scale and precision
|
||||
`enumeration` - `INT` ordinal value
|
||||
`enumerationByName` - `VARCHAR`
|
||||
`date` - `DATETIME`
|
||||
`datetime` - `DATETIME`
|
||||
`blob` - `BLOB`
|
||||
`binary` - `VARBINARY` with length
|
||||
`uuid` - `BINARY(16)`
|
||||
* `integer` - translates to DB `INT`
|
||||
* `long` - `BIGINT`
|
||||
* `bool` - `BOOLEAN`
|
||||
* `char` - `CHAR`
|
||||
* `varchar` - `VARCHAR` with length
|
||||
* `text` - `TEXT`
|
||||
* `decimal` - `DECIMAL` with scale and precision
|
||||
* `enumeration` - `INT` ordinal value
|
||||
* `enumerationByName` - `VARCHAR`
|
||||
* `date` - `DATETIME`
|
||||
* `datetime` - `DATETIME`
|
||||
* `blob` - `BLOB`
|
||||
* `binary` - `VARBINARY` with length
|
||||
* `uuid` - `BINARY(16)`
|
||||
|
||||
|
||||
* Note: some types are different for specific DB dialect
|
||||
Reference in New Issue
Block a user