mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-08-08 13:49:47 +00:00
Fix reading values from ResultSet/Row.
Send correct group_id to the db in a safer way.
This commit is contained in:
parent
9bb5689d48
commit
1532d3c083
4 changed files with 99 additions and 19 deletions
|
@ -44,6 +44,8 @@ namespace pq {
|
|||
std::string operator[] ( std::size_t parIndex ) const;
|
||||
Row& operator= ( const Row& ) = delete;
|
||||
Row& operator= ( Row&& ) = delete;
|
||||
bool is_null ( std::size_t parIndex ) const;
|
||||
bool is_null ( const std::string& parIndex ) const;
|
||||
|
||||
const_iterator begin ( void ) const;
|
||||
const_iterator end ( void ) const;
|
||||
|
@ -53,6 +55,8 @@ namespace pq {
|
|||
private:
|
||||
struct LocalData;
|
||||
|
||||
std::string get_as_str_assume_valid ( int parIndex ) const;
|
||||
|
||||
std::unique_ptr<LocalData> m_localData;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue