diff --git a/src/postgresqlqueryresult.cpp b/src/postgresqlqueryresult.cpp index 4391d3e..61c3209 100644 --- a/src/postgresqlqueryresult.cpp +++ b/src/postgresqlqueryresult.cpp @@ -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;