|
| | Model_Budgetsplittransaction () |
| |
| | ~Model_Budgetsplittransaction () |
| |
| double | get_total (const Data_Set &rows) |
| |
| std::map< int64, Data_Set > | get_all () |
| |
| int | update (Data_Set &rows, int64 transactionID) |
| |
| bool | remove (int64 id) |
| |
| const DB_Table_BUDGETSPLITTRANSACTIONS_V1 ::Data_Set | all (COLUMN col=COLUMN(0), bool asc=true) |
| | Return a list of Data record addresses (Data_Set) derived directly from the database. More...
|
| |
| const DB_Table_BUDGETSPLITTRANSACTIONS_V1 ::Data_Set | find (const Args &... args) |
| | Command: find(const Args&... More...
|
| |
| const DB_Table_BUDGETSPLITTRANSACTIONS_V1 ::Data_Set | find_or (const Args &... args) |
| | Command: find_or(const Args&... More...
|
| |
| DB_Table_BUDGETSPLITTRANSACTIONS_V1 ::Data * | get (int64 id) |
| | Return the Data record pointer for the given ID from either memory cache or the database. More...
|
| |
| DB_Table_BUDGETSPLITTRANSACTIONS_V1 ::Data * | get (wxLongLong_t id) |
| |
| DB_Table_BUDGETSPLITTRANSACTIONS_V1 ::Data * | get_record (int64 id) |
| | Return the Data record for the given ID directly from the database, bypassing the cache. More...
|
| |
| int64 | save (typename DB_Table_BUDGETSPLITTRANSACTIONS_V1 ::Data *r) |
| | Save the Data record memory instance to the database. More...
|
| |
| int | save (std::vector< DATA > &rows) |
| | Save all Data record memory instances contained in the record list (Data_Set) to the database. More...
|
| |
| int | save (std::vector< DATA * > &rows) |
| |
| bool | remove (int64 id) |
| | Remove the Data record instance from memory and the database. More...
|
| |
| void | preload (int max_num=1000) |
| |
| wxString | GetTableStatsAsJson () const |
| |
| void | destroyCache () |
| |
| void | show_statistics () const |
| | Show table statistics. More...
|
| |
| | ModelBase () |
| |
| virtual | ~ModelBase () |
| |
| void | Begin () |
| |
| void | Commit () |
| |
| void | Savepoint (const wxString name="MMEX") |
| |
| void | ReleaseSavepoint (const wxString name="MMEX") |
| |
| void | Rollback (const wxString name="MMEX") |
| |
| | ~DB_Table_BUDGETSPLITTRANSACTIONS_V1 () |
| | Destructor: clears any data records stored in memory. More...
|
| |
| void | destroy_cache () |
| | Removes all records stored in memory (cache) for the table. More...
|
| |
| bool | ensure (wxSQLite3Database *db) |
| | Creates the database table if the table does not exist. More...
|
| |
| bool | ensure_index (wxSQLite3Database *db) |
| |
| void | ensure_data (wxSQLite3Database *db) |
| |
| size_t | num_columns () const |
| |
| wxString | name () const |
| | Name of the table. More...
|
| |
| | DB_Table_BUDGETSPLITTRANSACTIONS_V1 () |
| |
| Self::Data * | create () |
| | Create a new Data record and add to memory table (cache) More...
|
| |
| Self::Data * | clone (const Data *e) |
| | Create a copy of the Data record and add to memory table (cache) More...
|
| |
| bool | save (Self::Data *entity, wxSQLite3Database *db, bool force_insert=false) |
| | Saves the Data record to the database table. More...
|
| |
| bool | remove (const int64 id, wxSQLite3Database *db) |
| | Remove the Data record from the database and the memory table (cache) More...
|
| |
| bool | remove (Self::Data *entity, wxSQLite3Database *db) |
| | Remove the Data record from the database and the memory table (cache) More...
|
| |
| template<typename... Args> |
| Self::Data * | get_one (const Args &... args) |
| |
| Self::Data * | get (const int64 id, wxSQLite3Database *db) |
| | Search the memory table (Cache) for the data record. More...
|
| |
| Self::Data * | get_record (const int64 id, wxSQLite3Database *db) |
| | Search the database for the data record, bypassing the cache. More...
|
| |
| const Data_Set | all (wxSQLite3Database *db, const COLUMN col=COLUMN(0), const bool asc=true) |
| | Return a list of Data records (Data_Set) derived directly from the database. More...
|
| |
| | DB_Table () |
| |
| virtual | ~DB_Table () |
| |
| virtual wxString | query () const |
| |
| bool | exists (wxSQLite3Database *db) const |
| |
| void | drop (wxSQLite3Database *db) const |
| |