query

package
v0.6.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Query

type Query struct {
	// contains filtered or unexported fields
}

func Init

func Init(db *gorm.DB) *Query

func (*Query) AccountPrefix added in v0.4.0

func (q *Query) AccountPrefix(account ...string) *Query

func (*Query) All

func (q *Query) All() []posting.Posting

func (*Query) BeforeNMonths added in v0.4.5

func (q *Query) BeforeNMonths(n int) *Query

func (*Query) Clone added in v0.4.5

func (q *Query) Clone() *Query

func (*Query) Commodities

func (q *Query) Commodities(commodities []config.Commodity) *Query

func (*Query) Credit added in v0.3.4

func (q *Query) Credit() *Query

func (*Query) Desc

func (q *Query) Desc() *Query

func (*Query) First

func (q *Query) First() *posting.Posting

func (*Query) Forecast added in v0.4.8

func (q *Query) Forecast() *Query

func (*Query) LastNMonths added in v0.4.5

func (q *Query) LastNMonths(n int) *Query

func (*Query) Like

func (q *Query) Like(accounts ...string) *Query

func (*Query) Limit added in v0.4.5

func (q *Query) Limit(n int) *Query

func (*Query) NotAccountPrefix added in v0.4.8

func (q *Query) NotAccountPrefix(account string) *Query

func (*Query) NotLike

func (q *Query) NotLike(account string) *Query

func (*Query) Status added in v0.4.2

func (q *Query) Status(status string) *Query

func (*Query) UntilThisMonthEnd added in v0.4.8

func (q *Query) UntilThisMonthEnd() *Query

func (*Query) UntilToday added in v0.4.5

func (q *Query) UntilToday() *Query

func (*Query) Where added in v0.2.8

func (q *Query) Where(query interface{}, args ...interface{}) *Query

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL