Documentation ¶
Overview ¶
Package vivom is a dead simple, tiny, but powerful ORM library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsertableRow ¶
type SelectableRow ¶
type SelectableRow interface { Row ScanValues() []interface{} }
type SelectableRows ¶
type SelectableRows interface { Row Next() SelectableRow }
type Vivom ¶ added in v1.0.0
type Vivom struct {
// contains filtered or unexported fields
}
func (*Vivom) Insert ¶ added in v1.0.0
func (v *Vivom) Insert(r InsertableRow) error
func (*Vivom) SelectAll ¶ added in v1.0.0
func (v *Vivom) SelectAll(rs SelectableRows) error
func (*Vivom) SelectAllBy ¶ added in v1.0.0
func (v *Vivom) SelectAllBy(rs SelectableRows, column string, value string) error
func (*Vivom) Update ¶ added in v1.0.0
func (v *Vivom) Update(r InsertableRow) error
Click to show internal directories.
Click to hide internal directories.