|
GnuCash
5.6-150-g038405b370+
|
Public Member Functions | |
| void | load_all (GncSqlBackend *) override |
| Loads all transactions. More... | |
| void | create_tables (GncSqlBackend *) override |
| Creates the transaction and split tables. More... | |
| bool | commit (GncSqlBackend *sql_be, QofInstance *inst) override |
| UPDATE/INSERT a single instance of m_type_name into the database. More... | |
Public Member Functions inherited from GncSqlObjectBackend | |
| GncSqlObjectBackend (int version, const std::string &type, const std::string &table, const EntryVec &vec) | |
| virtual bool | write (GncSqlBackend *sql_be) |
| Write all objects of m_type_name to the database. More... | |
| const char * | type () const noexcept |
| Return the m_type_name for the class. More... | |
| const bool | is_version (int version) const noexcept |
| Compare a version with the compiled version (m_version). More... | |
| bool | instance_in_db (const GncSqlBackend *sql_be, QofInstance *inst) const noexcept |
| Check the presence of an object in the backend's database. More... | |
Additional Inherited Members | |
Protected Attributes inherited from GncSqlObjectBackend | |
| const std::string | m_table_name |
| const int | m_version |
| const std::string | m_type_name |
| const EntryVec & | m_col_table |
| The front-end QofIdType. | |
Definition at line 36 of file gnc-transaction-sql.h.
|
overridevirtual |
UPDATE/INSERT a single instance of m_type_name into the database.
| sql_be | The GncSqlBackend containing the database. |
| inst | The QofInstance to be written out. |
Reimplemented from GncSqlObjectBackend.
Definition at line 585 of file gnc-transaction-sql.cpp.
|
overridevirtual |
Creates the transaction and split tables.
| sql_be | SQL backend |
Reimplemented from GncSqlObjectBackend.
Definition at line 409 of file gnc-transaction-sql.cpp.
|
overridevirtual |
Loads all transactions.
This might be used during a save-as operation to ensure that all data is in memory and ready to be saved.
| sql_be | SQL backend |
Implements GncSqlObjectBackend.
Definition at line 717 of file gnc-transaction-sql.cpp.
1.8.14