Browse Source

docs: add missing db types

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1671/head
Wing-Kam Wong 3 years ago
parent
commit
d822b37d81
  1. 122
      packages/noco-docs/content/en/setup-and-usages/column-types.md

122
packages/noco-docs/content/en/setup-and-usages/column-types.md

@ -56,31 +56,29 @@ menuTitle: 'Column Types'
|**SQL Server**|_All types are available_|int| |**SQL Server**|_All types are available_|int|
|**SQLite**|_All types are available_|integer| |**SQLite**|_All types are available_|integer|
### LinkToAnotherRecord ### LinkToAnotherRecord
N/A
### ForeignKey ### ForeignKey
#### Available Database Types
|Database| Types|
|-----|----------|
|**MySQL**|_All types are available_|
|**PostgreSQL**|_All types are available_|
|**SQL Server**|_All types are available_|
|**SQLite**|_All types are available_|
### SingleLineText ### SingleLineText
#### Available Database Types #### Available Database Types
|Database| Types| Default Type| |Database| Types| Default Type|
|-----|----------|----------| |-----|----------|----------|
|**MySQL**||| |**MySQL**|char, varchar, nchar, text, tinytext, mediumtext, longtext|varchar|
|**PostgreSQL**||| |**PostgreSQL**|char, character, character varying, text|character varying|
|**SQL Server**||| |**SQL Server**|char, ntext, text, varchar, nvarchar|varchar|
|**SQLite**||| |**SQLite**|character, text, varchar|varchar|
### LongText ### LongText
@ -93,8 +91,6 @@ menuTitle: 'Column Types'
|**SQL Server**|char, ntext, text, varchar, nvarchar|text| |**SQL Server**|char, ntext, text, varchar, nvarchar|text|
|**SQLite**|character, text, varchar|text| |**SQLite**|character, text, varchar|text|
### Attachment ### Attachment
#### Available Database Types #### Available Database Types
@ -105,10 +101,6 @@ menuTitle: 'Column Types'
|**SQL Server**|char, ntext, text, varchar, nvarchar| text | |**SQL Server**|char, ntext, text, varchar, nvarchar| text |
|**SQLite**|character, text, varchar|text| |**SQLite**|character, text, varchar|text|
### Checkbox ### Checkbox
#### Available Database Types #### Available Database Types
@ -120,10 +112,6 @@ menuTitle: 'Column Types'
|**SQL Server**|bigint, bit, int, tinyint|tinyint| |**SQL Server**|bigint, bit, int, tinyint|tinyint|
|**SQLite**|int, integer, tinyint, smallint, mediumint, bigint, int2, int8, boolean|| |**SQLite**|int, integer, tinyint, smallint, mediumint, bigint, int2, int8, boolean||
### MultiSelect ### MultiSelect
#### Available Database Types #### Available Database Types
@ -134,10 +122,6 @@ menuTitle: 'Column Types'
|**SQL Server**|text, ntext|text| |**SQL Server**|text, ntext|text|
|**SQLite**|text, varchar|text| |**SQLite**|text, varchar|text|
### SingleSelect ### SingleSelect
#### Available Database Types #### Available Database Types
@ -145,13 +129,10 @@ menuTitle: 'Column Types'
|Database| Types| Default Type| |Database| Types| Default Type|
|-----|----------|----------| |-----|----------|----------|
|**MySQL**|enum, text, tinytext, mediumtext, longtext|enum| |**MySQL**|enum, text, tinytext, mediumtext, longtext|enum|
|**PostgreSQL**|text| |**PostgreSQL**|text|text|
|**SQL Server**|text, ntext|text| |**SQL Server**|text, ntext|text|
|**SQLite**|text, varchar|text| |**SQLite**|text, varchar|text|
### Date ### Date
#### Available Database Types #### Available Database Types
@ -159,12 +140,9 @@ menuTitle: 'Column Types'
|Database| Types| Default Type| |Database| Types| Default Type|
|-----|----------|----------| |-----|----------|----------|
|**MySQL**|date, datetime, timestamp, varchar|varchar| |**MySQL**|date, datetime, timestamp, varchar|varchar|
|**PostgreSQL**||character varying| |**PostgreSQL**||date, timestamp, timestamp without time zone, timestamptz, timestamp with time zone | date
|**SQL Server**||| |**SQL Server**|date|date|
|**SQLite**|date|varchar| |**SQLite**|date, varchar|varchar|
### Year ### Year
@ -174,16 +152,11 @@ menuTitle: 'Column Types'
|**MySQL**|year|year| |**MySQL**|year|year|
|**PostgreSQL**|int|int| |**PostgreSQL**|int|int|
|**SQL Server**|int|int| |**SQL Server**|int|int|
|**SQLite**|int, integer, tinyint, smallint, mediumint, bigint, int2, int8|| |**SQLite**|int, integer, tinyint, smallint, mediumint, bigint, int2, int8|year|
### Time ### Time
#### Available Database Types #### Available Database Types
|Database| Types| Default Type| |Database| Types| Default Type|
|-----|----------|----------| |-----|----------|----------|
|**MySQL**|time|time| |**MySQL**|time|time|
@ -191,9 +164,6 @@ menuTitle: 'Column Types'
|**SQL Server**|time|time| |**SQL Server**|time|time|
|**SQLite**|int, integer, tinyint, smallint, mediumint, bigint, int2, int8|time| |**SQLite**|int, integer, tinyint, smallint, mediumint, bigint, int2, int8|time|
### PhoneNumber ### PhoneNumber
#### Available Database Types #### Available Database Types
@ -205,9 +175,6 @@ menuTitle: 'Column Types'
|**SQL Server**|varchar|varchar| |**SQL Server**|varchar|varchar|
|**SQLite**|varchar, text|varchar| |**SQLite**|varchar, text|varchar|
### Email ### Email
#### Available Database Types #### Available Database Types
@ -216,12 +183,9 @@ menuTitle: 'Column Types'
|-----|----------|----------| |-----|----------|----------|
|**MySQL**|varchar|varchar| |**MySQL**|varchar|varchar|
|**PostgreSQL**|character varying|character varying| |**PostgreSQL**|character varying|character varying|
|**SQL Server**|varchar|| |**SQL Server**|varchar|varchar|
|**SQLite**|varchar, text|varchar| |**SQLite**|varchar, text|varchar|
### URL ### URL
#### Available Database Types #### Available Database Types
@ -233,9 +197,6 @@ menuTitle: 'Column Types'
|**SQL Server**|varchar, text|varchar| |**SQL Server**|varchar, text|varchar|
|**SQLite**|varchar, text|varchar| |**SQLite**|varchar, text|varchar|
### Number ### Number
#### Available Database Types #### Available Database Types
@ -247,9 +208,6 @@ menuTitle: 'Column Types'
|**SQL Server**|int, bigint, bit, decimal, float, numeric, real, smallint, tinyint|int| |**SQL Server**|int, bigint, bit, decimal, float, numeric, real, smallint, tinyint|int|
|**SQLite**|int, integer, tinyint, smallint, mediumint, bigint, int2, int8, numeric, real, double, double precision, float|integer| |**SQLite**|int, integer, tinyint, smallint, mediumint, bigint, int2, int8, numeric, real, double, double precision, float|integer|
### Decimal ### Decimal
#### Available Database Types #### Available Database Types
@ -261,9 +219,6 @@ menuTitle: 'Column Types'
|**SQL Server**|decimal, float|decimal| |**SQL Server**|decimal, float|decimal|
|**SQLite**|real, double, double precision, float, numericdecimal| |**SQLite**|real, double, double precision, float, numericdecimal|
### Currency ### Currency
#### Available Database Types #### Available Database Types
@ -275,9 +230,6 @@ menuTitle: 'Column Types'
|**SQL Server**|int, bigint, bit, decimal, float, numeric, real, smallint, tinyint|decimal| |**SQL Server**|int, bigint, bit, decimal, float, numeric, real, smallint, tinyint|decimal|
|**SQLite**|real, double, double precision, float, int, integer, tinyint, smallint, mediumint, bigint, int2, int8, numeric|double precision| |**SQLite**|real, double, double precision, float, int, integer, tinyint, smallint, mediumint, bigint, int2, int8, numeric|double precision|
### Percent ### Percent
#### Available Database Types #### Available Database Types
@ -289,15 +241,10 @@ menuTitle: 'Column Types'
|**SQL Server**|int, bigint, bit, decimal, float, numeric, real, smallint, tinyint|double| |**SQL Server**|int, bigint, bit, decimal, float, numeric, real, smallint, tinyint|double|
|**SQLite**|real, double, double precision, float, int, integer, tinyint, smallint, mediumint, bigint, int2, int8, numeric|double| |**SQLite**|real, double, double precision, float, int, integer, tinyint, smallint, mediumint, bigint, int2, int8, numeric|double|
### Duration ### Duration
#### Available Database Types #### Available Database Types
|Database| Types| Default Type| |Database| Types| Default Type|
|-----|----------|----------| |-----|----------|----------|
|**MySQL**|decimal, float, double, serial', 'int, smallint, mediumint, bigint, bit|int| |**MySQL**|decimal, float, double, serial', 'int, smallint, mediumint, bigint, bit|int|
@ -305,15 +252,10 @@ menuTitle: 'Column Types'
|**SQL Server**|int, bigint, bit, decimal, float, numeric, real, smallint, tinyint|int| |**SQL Server**|int, bigint, bit, decimal, float, numeric, real, smallint, tinyint|int|
|**SQLite**|int, integer, tinyint, smallint, mediumint, bigint, int2, int8|integer| |**SQLite**|int, integer, tinyint, smallint, mediumint, bigint, int2, int8|integer|
### Rating ### Rating
#### Available Database Types #### Available Database Types
|Database| Types| Default Type| |Database| Types| Default Type|
|-----|----------|----------| |-----|----------|----------|
|**MySQL**|decimal, float, double, serial', 'int, smallint, mediumint, bigint, bit|float| |**MySQL**|decimal, float, double, serial', 'int, smallint, mediumint, bigint, bit|float|
@ -321,22 +263,14 @@ menuTitle: 'Column Types'
|**SQL Server**|int, bigint, bit, decimal, float, numeric, real, smallint, tinyint|float| |**SQL Server**|int, bigint, bit, decimal, float, numeric, real, smallint, tinyint|float|
|**SQLite**|real, double, double precision, float, int, integer, tinyint, smallint, mediumint, bigint, int2, int8, numeric|float| |**SQLite**|real, double, double precision, float, int, integer, tinyint, smallint, mediumint, bigint, int2, int8, numeric|float|
### Formula ### Formula
For more about formula, please visit [here](./formulas).
For more about formula visit [here](./formula)
### Count ### Count
#### Available Database Types #### Available Database Types
|Database| Types| Default Type| |Database| Types| Default Type|
|-----|----------|----------| |-----|----------|----------|
|**MySQL**|int, smallint, mediumint, bigint, serial|int| |**MySQL**|int, smallint, mediumint, bigint, serial|int|
@ -344,15 +278,10 @@ For more about formula visit [here](./formula)
|**SQL Server**|int, bigint, smallint, tinyint|int| |**SQL Server**|int, bigint, smallint, tinyint|int|
|**SQLite**|int, integer, tinyint, smallint, mediumint, bigint, int2, int8|integer| |**SQLite**|int, integer, tinyint, smallint, mediumint, bigint, int2, int8|integer|
### DateTime ### DateTime
#### Available Database Types #### Available Database Types
|Database| Types| Default Type| |Database| Types| Default Type|
|-----|----------|----------| |-----|----------|----------|
|**MySQL**|datetime, timestamp, varchar|datetime| |**MySQL**|datetime, timestamp, varchar|datetime|
@ -360,16 +289,10 @@ For more about formula visit [here](./formula)
|**SQL Server**|datetime, datetime2, datetimeoffset|datetime| |**SQL Server**|datetime, datetime2, datetimeoffset|datetime|
|**SQLite**|datetime, timestamp|datetime| |**SQLite**|datetime, timestamp|datetime|
### CreateTime ### CreateTime
#### Available Database Types #### Available Database Types
|Database| Types| Default Type| |Database| Types| Default Type|
|-----|----------|----------| |-----|----------|----------|
|**MySQL**|datetime, timestamp, varchar|datetime| |**MySQL**|datetime, timestamp, varchar|datetime|
@ -382,7 +305,6 @@ For more about formula visit [here](./formula)
#### Available Database Types #### Available Database Types
|Database| Types| |Database| Types|
|-----|----------| |-----|----------|
|**MySQL**|geometry, point, linestring, polygon, multipoint, multilinestring, multipolygon| |**MySQL**|geometry, point, linestring, polygon, multipoint, multilinestring, multipolygon|
@ -390,15 +312,9 @@ For more about formula visit [here](./formula)
|**SQL Server**|geometry| |**SQL Server**|geometry|
|**SQLite**|text| |**SQLite**|text|
### SpecificDBType ### SpecificDBType
#### Available Database Types #### Available Database Types
|Database| Types| |Database| Types|
|-----|----------| |-----|----------|
|**MySQL**|_All types are available_| |**MySQL**|_All types are available_|

Loading…
Cancel
Save