1 |
d2a8c3fd
|
Marc NICOLAS
|
#-------------------------------------------------------------------------------
|
2 |
|
|
# Copyright 2011, 2012 CNES - CENTRE NATIONAL d'ETUDES SPATIALES
|
3 |
|
|
#
|
4 |
|
|
# This file is part of SITools2.
|
5 |
|
|
#
|
6 |
|
|
# SITools2 is free software: you can redistribute it and/or modify
|
7 |
|
|
# it under the terms of the GNU General Public License as published by
|
8 |
|
|
# the Free Software Foundation, either version 3 of the License, or
|
9 |
|
|
# (at your option) any later version.
|
10 |
|
|
#
|
11 |
|
|
# SITools2 is distributed in the hope that it will be useful,
|
12 |
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
|
|
# GNU General Public License for more details.
|
15 |
|
|
#
|
16 |
|
|
# You should have received a copy of the GNU General Public License
|
17 |
|
|
# along with SITools2. If not, see <http://www.gnu.org/licenses/>.
|
18 |
|
|
#-------------------------------------------------------------------------------
|
19 |
|
|
varchar=string
|
20 |
|
|
char=string
|
21 |
|
|
text=string
|
22 |
|
|
int=numeric
|
23 |
|
|
int2=numeric
|
24 |
|
|
int4=numeric
|
25 |
|
|
int8=numeric
|
26 |
|
|
serial4=numeric
|
27 |
|
|
serial8=numeric
|
28 |
|
|
decimal=numeric
|
29 |
|
|
float4=numeric
|
30 |
|
|
float8=numeric
|
31 |
|
|
timestamp=dateAsString
|
32 |
|
|
timestamptz=dateAsString
|
33 |
|
|
date=dateAsString
|
34 |
|
|
time=string
|
35 |
|
|
timetz=string
|
36 |
|
|
bool=boolean
|
37 |
|
|
smallint=numeric
|
38 |
|
|
|
39 |
|
|
VARCHAR=string
|
40 |
|
|
INT=numeric
|
41 |
|
|
TEXT=string
|
42 |
|
|
FLOAT=numeric
|
43 |
|
|
DATETIME=dateAsString
|
44 |
|
|
TINYINT=numeric
|
45 |
|
|
SMALLINT=numeric
|
46 |
|
|
MEDIUMINT=numeric
|
47 |
|
|
BIGINT=numeric
|
48 |
|
|
DOUBLE=numeric
|
49 |
|
|
DECIMAL=numeric
|
50 |
|
|
DATE=dateAsString
|
51 |
|
|
TIMESTAMP=dateAsString
|
52 |
|
|
YEAR=string
|
53 |
|
|
TIME=string
|
54 |
|
|
CHAR=string
|
55 |
|
|
BIT=boolean
|
56 |
|
|
|
57 |
|
|
INTEGER=numeric
|
58 |
|
|
DOUBLE PRECISION=numeric
|
59 |
|
|
|
60 |
|
|
#For MongoDB
|
61 |
|
|
Date=dateAsString
|
62 |
|
|
Double=numeric
|
63 |
|
|
Integer=numeric
|
64 |
|
|
String=string
|
65 |
|
|
Boolean=boolean
|
66 |
|
|
Float=numeric
|