Versions in this module Expand all Collapse all v1 v1.0.0 Dec 5, 2022 Changes in this version + type Ingredient struct + Id int64 + Name string + type Query interface + Delete func(id int64) error + FilterById func(ids ...int64) Query + FilterByName func(names ...string) Query + Get func() (*Ingredient, error) + Insert func(Ingredient) (Ingredient, error) + New func() Query + Page func(pageParams pgdb.OffsetPageParams) Query + Select func() ([]Ingredient, error) + Update func(Ingredient) (Ingredient, error) + func NewQuery(db *sqlx.DB) Query