query

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: AGPL-3.0 Imports: 5 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) 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) Like

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

func (*Query) NotLike

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

func (*Query) Or added in v0.2.8

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

func (*Query) OrLike added in v0.2.3

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

func (*Query) Status added in v0.4.2

func (q *Query) Status(status string) *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