diff options
Diffstat (limited to 'libpqpp/pq-connection.h')
-rw-r--r-- | libpqpp/pq-connection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpqpp/pq-connection.h b/libpqpp/pq-connection.h index bb102df..0a7fd0a 100644 --- a/libpqpp/pq-connection.h +++ b/libpqpp/pq-connection.h @@ -29,8 +29,8 @@ namespace PQ { DB::BulkDeleteStyle bulkDeleteStyle() const override; DB::BulkUpdateStyle bulkUpdateStyle() const override; - DB::SelectCommand * newSelectCommand(const std::string & sql, const DB::CommandOptions *) override; - DB::ModifyCommand * newModifyCommand(const std::string & sql, const DB::CommandOptions *) override; + DB::SelectCommandPtr select(const std::string & sql, const DB::CommandOptions * = nullptr) override; + DB::ModifyCommandPtr modify(const std::string & sql, const DB::CommandOptions * = nullptr) override; int64_t insertId() override; int serverVersion() const; |