From 8df1d7799911811b3de6baf01e27e3526b9f1618 Mon Sep 17 00:00:00 2001 From: silverqx Date: Sun, 21 Jul 2024 20:29:54 +0200 Subject: [PATCH] drivers updated comment --- drivers/common/include/orm/drivers/sqlquery.hpp | 6 +++--- drivers/common/include/orm/drivers/sqlresult.hpp | 8 ++++---- drivers/mysql/include/orm/drivers/mysql/mysqlresult.hpp | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/common/include/orm/drivers/sqlquery.hpp b/drivers/common/include/orm/drivers/sqlquery.hpp index b060a8d49..0cde78371 100644 --- a/drivers/common/include/orm/drivers/sqlquery.hpp +++ b/drivers/common/include/orm/drivers/sqlquery.hpp @@ -127,9 +127,9 @@ namespace MySql QList boundValues() const; /* Result sets */ - /*! Get a SqlRecord containing the field information for the current query. */ + /*! Get a SqlRecord containing the field information for the current row. */ SqlRecord record(bool withDefaultValues = true) const; - /*! Get a SqlRecord containing the field information for the current query. */ + /*! Get a SqlRecord containing the field information for the current row. */ const SqlRecord &recordCached(bool withDefaultValues = true) const; /*! Retrieve the next record and position the cursor on it. */ @@ -192,7 +192,7 @@ namespace MySql /* Result sets */ #ifdef TINYDRIVERS_MYSQL_DRIVER - /*! Get a SqlRecord containing the field information for the current query. */ + /*! Get a SqlRecord containing the field information for the current row. */ SqlRecord recordAllColumns(bool withDefaultValues = true) const; #endif diff --git a/drivers/common/include/orm/drivers/sqlresult.hpp b/drivers/common/include/orm/drivers/sqlresult.hpp index a069bb186..4ed9eace8 100644 --- a/drivers/common/include/orm/drivers/sqlresult.hpp +++ b/drivers/common/include/orm/drivers/sqlresult.hpp @@ -132,14 +132,14 @@ namespace Orm::Drivers constexpr BindingSyntax bindingSyntax() const noexcept; /* Result sets */ - /*! Get a SqlRecord containing the field information for the current query. */ + /*! Get a SqlRecord containing the field information for the current row. */ virtual SqlRecord record() const = 0; - /*! Get a SqlRecord containing the field information for the current query. */ + /*! Get a SqlRecord containing the field information for the current row. */ virtual const SqlRecord &recordCached() const = 0; - /*! Get a SqlRecord containing the field information for the current query. */ + /*! Get a SqlRecord containing the field information for the current row. */ virtual SqlRecord recordWithDefaultValues(bool allColumns) const = 0; - /*! Get a SqlRecord containing the field information for the current query. */ + /*! Get a SqlRecord containing the field information for the current row. */ virtual const SqlRecord &recordWithDefaultValuesCached() const = 0; /*! Populate field values for the given record. */ diff --git a/drivers/mysql/include/orm/drivers/mysql/mysqlresult.hpp b/drivers/mysql/include/orm/drivers/mysql/mysqlresult.hpp index bd3ce615f..75b277f6c 100644 --- a/drivers/mysql/include/orm/drivers/mysql/mysqlresult.hpp +++ b/drivers/mysql/include/orm/drivers/mysql/mysqlresult.hpp @@ -42,14 +42,14 @@ namespace Orm::Drivers::MySql bool exec() final; /* Result sets */ - /*! Get a SqlRecord containing the field information for the current query. */ + /*! Get a SqlRecord containing the field information for the current row. */ SqlRecord record() const final; - /*! Get a SqlRecord containing the field information for the current query. */ + /*! Get a SqlRecord containing the field information for the current row. */ const SqlRecord &recordCached() const final; - /*! Get a SqlRecord containing the field information for the current query. */ + /*! Get a SqlRecord containing the field information for the current row. */ SqlRecord recordWithDefaultValues(bool allColumns) const final; - /*! Get a SqlRecord containing the field information for the current query. */ + /*! Get a SqlRecord containing the field information for the current row. */ const SqlRecord &recordWithDefaultValuesCached() const final; /*! Get the ID of the most recent inserted row. */