added comments to PostgreSQLQueryResult::get_value_from_result():
* in the future we can use single row mode: * https://www.postgresql.org/docs/10/libpq-single-row-mode.html * * or just cursors from database: * https://www.postgresql.org/docs/current/sql-fetch.html git-svn-id: svn://ttmath.org/publicrep/morm/trunk@1230 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
parent
d9dc49d699
commit
7571535ff4
|
@ -136,7 +136,14 @@ bool PostgreSQLQueryResult::is_null(int column_index)
|
|||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* in the future we can use single row mode:
|
||||
* https://www.postgresql.org/docs/10/libpq-single-row-mode.html
|
||||
*
|
||||
* or just cursors from database:
|
||||
* https://www.postgresql.org/docs/current/sql-fetch.html
|
||||
*
|
||||
*/
|
||||
const char * PostgreSQLQueryResult::get_value_from_result(int row, int col)
|
||||
{
|
||||
const char * value_str = nullptr;
|
||||
|
|
Loading…
Reference in New Issue