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:
Tomasz Sowa 2019-11-22 13:40:30 +00:00
parent d9dc49d699
commit 7571535ff4
1 changed files with 8 additions and 1 deletions

View File

@ -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;