Versions in this module Expand all Collapse all v1 v1.24.19 Mar 7, 2021 Changes in this version + var DBSchemas = []string + var ErrKeyNotFound = errors.NewPlain("Key not found") + type DB struct + PQ *sql.DB + func (db *DB) Get(guildID int64, key string) (r *Result) + func (db *DB) SetString(guildID int64, key, value string) (new bool, err error) + type Entry struct + GuildID int64 + Key string + UpdatedAt time.Time + Value string + type Result struct + Entry Entry + Error error + func (r *Result) Int64() (int64, error) + func (r *Result) Str() (string, error)