Documentation ¶
Overview ¶
Package for_sqlite stores types in fin package in a sqlite database.
Index ¶
- type ReadOnlyStore
- func (s ReadOnlyStore) AccountById(t db.Transaction, acctId int64, account *fin.Account) error
- func (s ReadOnlyStore) Accounts(t db.Transaction, consumer goconsume.Consumer) error
- func (s ReadOnlyStore) ActiveAccounts(t db.Transaction) (accounts []*fin.Account, err error)
- func (s ReadOnlyStore) Entries(t db.Transaction, options *findb.EntryListOptions, consumer goconsume.Consumer) error
- func (s ReadOnlyStore) EntriesByAccountId(t db.Transaction, acctId int64, account *fin.Account, ...) error
- func (s ReadOnlyStore) EntryById(t db.Transaction, id int64, entry *fin.Entry) error
- func (s ReadOnlyStore) RecurringEntries(t db.Transaction, consumer goconsume.Consumer) error
- func (s ReadOnlyStore) RecurringEntryById(t db.Transaction, id int64, entry *fin.RecurringEntry) error
- func (s ReadOnlyStore) UnreconciledEntries(t db.Transaction, acctId int64, account *fin.Account, ...) error
- func (s ReadOnlyStore) UserById(t db.Transaction, id int64, user *fin.User) error
- func (s ReadOnlyStore) UserByName(t db.Transaction, name string, user *fin.User) error
- func (s ReadOnlyStore) Users(t db.Transaction, consumer goconsume.Consumer) error
- type Store
- func (s Store) AccountById(t db.Transaction, acctId int64, account *fin.Account) error
- func (s Store) Accounts(t db.Transaction, consumer goconsume.Consumer) error
- func (s Store) ActiveAccounts(t db.Transaction) (accounts []*fin.Account, err error)
- func (s Store) AddAccount(t db.Transaction, account *fin.Account) error
- func (s Store) AddRecurringEntry(t db.Transaction, entry *fin.RecurringEntry) error
- func (s Store) AddUser(t db.Transaction, user *fin.User) error
- func (s Store) DoEntryChanges(t db.Transaction, changes *findb.EntryChanges) error
- func (s Store) Entries(t db.Transaction, options *findb.EntryListOptions, consumer goconsume.Consumer) error
- func (s Store) EntriesByAccountId(t db.Transaction, acctId int64, account *fin.Account, ...) error
- func (s Store) EntryById(t db.Transaction, id int64, entry *fin.Entry) error
- func (s Store) RecurringEntries(t db.Transaction, consumer goconsume.Consumer) error
- func (s Store) RecurringEntryById(t db.Transaction, id int64, entry *fin.RecurringEntry) error
- func (s Store) RemoveAccount(t db.Transaction, id int64) error
- func (s Store) RemoveRecurringEntryById(t db.Transaction, id int64) error
- func (s Store) RemoveUserByName(t db.Transaction, name string) error
- func (s Store) UnreconciledEntries(t db.Transaction, acctId int64, account *fin.Account, ...) error
- func (s Store) UpdateAccount(t db.Transaction, account *fin.Account) error
- func (s Store) UpdateAccountImportSD(t db.Transaction, acctId int64, date time.Time) error
- func (s Store) UpdateRecurringEntry(t db.Transaction, entry *fin.RecurringEntry) error
- func (s Store) UpdateUser(t db.Transaction, user *fin.User) error
- func (s Store) UserById(t db.Transaction, id int64, user *fin.User) error
- func (s Store) UserByName(t db.Transaction, name string, user *fin.User) error
- func (s Store) Users(t db.Transaction, consumer goconsume.Consumer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadOnlyStore ¶
type ReadOnlyStore struct { findb.NoPermissionStore // contains filtered or unexported fields }
func ReadOnlyWrapper ¶
func ReadOnlyWrapper(store Store) ReadOnlyStore
func (ReadOnlyStore) AccountById ¶
func (s ReadOnlyStore) AccountById( t db.Transaction, acctId int64, account *fin.Account) error
func (ReadOnlyStore) Accounts ¶
func (s ReadOnlyStore) Accounts( t db.Transaction, consumer goconsume.Consumer) error
func (ReadOnlyStore) ActiveAccounts ¶
func (s ReadOnlyStore) ActiveAccounts(t db.Transaction) ( accounts []*fin.Account, err error)
func (ReadOnlyStore) Entries ¶
func (s ReadOnlyStore) Entries( t db.Transaction, options *findb.EntryListOptions, consumer goconsume.Consumer) error
func (ReadOnlyStore) EntriesByAccountId ¶
func (s ReadOnlyStore) EntriesByAccountId( t db.Transaction, acctId int64, account *fin.Account, consumer goconsume.Consumer) error
func (ReadOnlyStore) EntryById ¶
func (s ReadOnlyStore) EntryById( t db.Transaction, id int64, entry *fin.Entry) error
func (ReadOnlyStore) RecurringEntries ¶
func (s ReadOnlyStore) RecurringEntries( t db.Transaction, consumer goconsume.Consumer) error
func (ReadOnlyStore) RecurringEntryById ¶
func (s ReadOnlyStore) RecurringEntryById( t db.Transaction, id int64, entry *fin.RecurringEntry) error
func (ReadOnlyStore) UnreconciledEntries ¶
func (s ReadOnlyStore) UnreconciledEntries( t db.Transaction, acctId int64, account *fin.Account, consumer goconsume.Consumer) error
func (ReadOnlyStore) UserById ¶
func (s ReadOnlyStore) UserById( t db.Transaction, id int64, user *fin.User) error
func (ReadOnlyStore) UserByName ¶
func (s ReadOnlyStore) UserByName( t db.Transaction, name string, user *fin.User) error
func (ReadOnlyStore) Users ¶
func (s ReadOnlyStore) Users( t db.Transaction, consumer goconsume.Consumer) error
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (Store) AccountById ¶
func (Store) ActiveAccounts ¶
func (Store) AddAccount ¶
func (Store) AddRecurringEntry ¶
func (s Store) AddRecurringEntry( t db.Transaction, entry *fin.RecurringEntry) error
func (Store) DoEntryChanges ¶
func (s Store) DoEntryChanges( t db.Transaction, changes *findb.EntryChanges) error
func (Store) Entries ¶
func (s Store) Entries( t db.Transaction, options *findb.EntryListOptions, consumer goconsume.Consumer) error
func (Store) EntriesByAccountId ¶
func (Store) RecurringEntries ¶
func (Store) RecurringEntryById ¶
func (s Store) RecurringEntryById( t db.Transaction, id int64, entry *fin.RecurringEntry) error
func (Store) RemoveAccount ¶
func (s Store) RemoveAccount( t db.Transaction, id int64) error
func (Store) RemoveRecurringEntryById ¶
func (s Store) RemoveRecurringEntryById(t db.Transaction, id int64) error
func (Store) RemoveUserByName ¶
func (s Store) RemoveUserByName(t db.Transaction, name string) error
func (Store) UnreconciledEntries ¶
func (Store) UpdateAccount ¶
func (Store) UpdateAccountImportSD ¶
func (Store) UpdateRecurringEntry ¶
func (s Store) UpdateRecurringEntry( t db.Transaction, entry *fin.RecurringEntry) error
func (Store) UpdateUser ¶
func (Store) UserByName ¶
Click to show internal directories.
Click to hide internal directories.