Versions in this module Expand all Collapse all v1 v1.0.0 Dec 3, 2024 Changes in this version + func NewDelete(db *sqlx.DB, table string, key, value string) (sql.Result, error) + type Insert struct + DB *sqlx.DB + Sentence string + func NewInsert(db *sqlx.DB, table string) *Insert + func (i *Insert) Add(key string, value any) *Insert + func (i *Insert) Do() (sql.Result, error) + type SQLInfo struct + Address string + DbName string + Password string + UserName string + func (s *SQLInfo) Connect() (DB *sqlx.DB, err error) + type Select struct + DB *sqlx.DB + Sentence string + func NewSelect(db *sqlx.DB, table string) *Select + func (s *Select) And(key string, value any) *Select + func (s *Select) Do(dest any) error + func (s *Select) Or(key string, value any) *Select + type Update struct + DB *sqlx.DB + Sentence string + func NewUpdate(db *sqlx.DB, table string) *Update + func (u *Update) Do(key string, value any) (sql.Result, error) + func (u *Update) Set(key string, value any) *Update