Documentation ¶ Index ¶ type Model type Store func (s Store) GetName() string func (s Store) GetPlan() lysmeta.Plan func (s Store) GetSetFuncUrlParamNames() []string func (s Store) Select(ctx context.Context, params lyspg.SelectParams) (items []Model, unpagedCount lyspg.TotalCount, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Model ¶ type Model struct { IntVal int `db:"int_val" json:"int_val"` TextVal string `db:"text_val" json:"text_val"` } type Store ¶ type Store struct { Db *pgxpool.Pool } func (Store) GetName ¶ func (s Store) GetName() string func (Store) GetPlan ¶ added in v0.3.28 func (s Store) GetPlan() lysmeta.Plan func (Store) GetSetFuncUrlParamNames ¶ func (s Store) GetSetFuncUrlParamNames() []string func (Store) Select ¶ func (s Store) Select(ctx context.Context, params lyspg.SelectParams) (items []Model, unpagedCount lyspg.TotalCount, err error) Source Files ¶ View all Source files store.go Click to show internal directories. Click to hide internal directories.