Documentation ¶
Overview ¶
Package minisql defines the subset of interfaces from database/sql that's needed to support pathdb. The interfaces are optimized for use with gomobile.
Index ¶
Constants ¶
View Source
const ( ValueTypeBytes = 0 ValueTypeString = 1 ValueTypeInt = 2 ValueTypeBool = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBAPI ¶
type DBAPI struct { *QueryableAPI // contains filtered or unexported fields }
type QueryableAPI ¶
type QueryableAPI struct {
Queryable
}
func (*QueryableAPI) Exec ¶
func (q *QueryableAPI) Exec(query string, args ...interface{}) error
func (*QueryableAPI) Query ¶
func (q *QueryableAPI) Query(query string, args ...interface{}) (ScannableRows, error)
type ScannableRows ¶
type TxAPI ¶
type TxAPI struct { *QueryableAPI // contains filtered or unexported fields }
type Value ¶
type Value struct { Type int // contains filtered or unexported fields }
func NewValueBool ¶
func NewValueBytes ¶
func NewValueInt ¶
func NewValueString ¶
Click to show internal directories.
Click to hide internal directories.