Browse Source
Merge pull request #2715 from mslourens/extend_postgres_data_types
Extend Postgres data type map
gh-pages
Martin McKeaveney
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
packages/server/src/integrations/postgres.ts
|
|
|
@ -84,10 +84,13 @@ module PostgresModule { |
|
|
|
bigint: FieldTypes.NUMBER, |
|
|
|
decimal: FieldTypes.NUMBER, |
|
|
|
smallint: FieldTypes.NUMBER, |
|
|
|
real: FieldTypes.NUMBER, |
|
|
|
"double precision": FieldTypes.NUMBER, |
|
|
|
timestamp: FieldTypes.DATETIME, |
|
|
|
time: FieldTypes.DATETIME, |
|
|
|
boolean: FieldTypes.BOOLEAN, |
|
|
|
json: FieldTypes.JSON, |
|
|
|
date: FieldTypes.DATETIME, |
|
|
|
} |
|
|
|
|
|
|
|
async function internalQuery(client: any, query: SqlQuery) { |
|
|
|
|