| | |
| | | | smallint | int16_t | |
| | | | bigint | int64_t | |
| | | | real | float | |
| | | | DOUBLE | double | |
| | | | double | double | |
| | | | text | const char*<br>std::string | |
| | | | bytea | qtl::const_blob_data<br>std::vector<uint8_t> | |
| | | | oid | qtl::postgres::large_object | |
| | | | date | qtl::postgres::date | |
| | | | timestamp | qtl::postgres::timestamp | |
| | | | interval | qtl::postgres::interval | |
| | | | array | std::vector | |
| | | |
| | | ### PostgreSQL的字段数据绑定 |
| | | |
| | |
| | | | smallint | int16_t | |
| | | | bigint | int64_t | |
| | | | real | float | |
| | | | DOUBLE | double | |
| | | | double | double | |
| | | | text | char[N]<br>std::array<char, N><br>std::string | |
| | | | bytea | qtl::const_blob_data<br>qtl::blob_data<br>std::vector<uint8_t> | |
| | | | oid | qtl::postgres::large_object | |
| | | | date | qtl::postgres::date | |
| | | | timestamp | qtl::postgres::timestamp | |
| | | | interval | qtl::postgres::interval | |
| | | | array | std::vector | |
| | | |
| | | ### ODBC相关的C++类 |
| | | - qtl::postgres::database |