mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Sql backend - load transactions before business objects to reduce individual slot queries
This commit is contained in:
parent
5609b704c5
commit
221c46585c
@ -209,7 +209,7 @@ GncSqlBackend::create_tables() noexcept
|
||||
|
||||
/* Main object load order */
|
||||
static const StrVec fixed_load_order
|
||||
{ GNC_ID_BOOK, GNC_ID_COMMODITY, GNC_ID_ACCOUNT, GNC_ID_LOT };
|
||||
{ GNC_ID_BOOK, GNC_ID_COMMODITY, GNC_ID_ACCOUNT, GNC_ID_LOT, GNC_ID_TRANS };
|
||||
|
||||
/* Order in which business objects need to be loaded */
|
||||
static const StrVec business_fixed_load_order =
|
||||
|
Loading…
Reference in New Issue
Block a user