作成した画面のDBアクセス時のデータ型対応表(PostgreSQL)
PostgreSQLの型 | IOP-toolの型 | 項目長 | 小数部長 | 検索(完全一致) | 検索(前方一致) | 新規登録 | 修正登録 | |
smallint | → | NUM | 5 | ○ | ○ | ○ | ○ | |
integer | → | NUM | 10 | ○ | ○ | ○ | ○ | |
bigint | → | NUM | 19 | ○ | ○ | ○ | ○ | |
numeric(4) | → | NUM | 4 | ○ | ○ | ○ | ○ | |
numeric(8) | → | NUM | 8 | ○ | ○ | ○ | ○ | |
numeric(16) | → | NUM | 16 | ○ | ○ | ○ | ○ | |
numeric(4,2) | → | NUM | 4 | 2 | ○ | ○ | ○ | ○ |
numeric(8,4) | → | NUM | 8 | 4 | ○ | ○ | ○ | ○ |
numeric(16,8) | → | NUM | 16 | 8 | ○ | ○ | ○ | ○ |
real | → | NUM | 8 | 8 | ○ | ○ | ○ | ○ |
double precision | → | NUM | 17 | 17 | ○ | ○ | ○ | ○ |
money | → | NUM | 20 | × | × | × | × | |
character varying(10) | → | STRING | 10 | ○ | ○ | ○ | ○ | |
character varying(1000) | → | STRING | 1000 | ○ | ○ | ○ | ○ | |
character(10) | → | STRING | 10 | ○ | ○ | ○ | ○ | |
character(1000) | → | STRING | 1000 | ○ | ○ | ○ | ○ | |
text | → | STRING | 2147483647 | ○ | ○ | ○ | ○ | |
bytea | → | IMAGE | 2147483647 | - | - | - | - | |
interval(6) | → | STRING | 49 | 6 | × | × | × | × |
date | → | DATE | 13 | ○ | ○ | ○ | ○ | |
boolean | → | BOOLEAN | 1 | ○ | ○ | ○ | ○ | |
timestamp without time zone | → | DATE_TIME | 29 | 6 | ○ | ○ | ○ | ○ |
timestamp with time zone | → | DATE_TIME | 35 | 6 | ○ | ○ | ○ | ○ |
time without time zone | → | TIME | 15 | 6 | ○ | ○ | ○ | ○ |
time with time zone | → | TIME | 21 | 6 | ○ | ○ | ○ | ○ |