Documentation
¶
Index ¶
- type BigIntProcessor
- type Result
- type SQLXModule
- type SQLx
- func (s *SQLx) Batch(query string, args []map[string]any) (res Result, err error)
- func (s *SQLx) Begin() (*TX, error)
- func (s *SQLx) Close() error
- func (s *SQLx) Exec(query string, args map[string]any) (res Result, err error)
- func (s *SQLx) Prepare(query string) (*Stmt, error)
- func (s *SQLx) Query(query string, args map[string]any) (goja.Value, error)
- type Stmt
- type TX
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigIntProcessor ¶
type BigIntProcessor struct {
// contains filtered or unexported fields
}
func (*BigIntProcessor) BigInt ¶
func (s *BigIntProcessor) BigInt() bool
func (*BigIntProcessor) BigIntFields ¶
func (s *BigIntProcessor) BigIntFields() []string
func (*BigIntProcessor) BigIntText ¶
func (s *BigIntProcessor) BigIntText() bool
func (*BigIntProcessor) SetBigInt ¶
func (s *BigIntProcessor) SetBigInt(v bool)
func (*BigIntProcessor) SetBigIntFields ¶
func (s *BigIntProcessor) SetBigIntFields(f ...string)
func (*BigIntProcessor) SetBigIntText ¶
func (s *BigIntProcessor) SetBigIntText(v bool)
type SQLXModule ¶
type SQLXModule struct {
}
func (SQLXModule) Exports ¶
func (S SQLXModule) Exports() map[string]any
func (SQLXModule) ExportsWithEngine ¶
func (S SQLXModule) ExportsWithEngine(eng *engine.Engine) map[string]any
func (SQLXModule) Identity ¶
func (S SQLXModule) Identity() string
func (SQLXModule) TypeDefine ¶
func (S SQLXModule) TypeDefine() []byte
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mysql provides a MySQL driver for Go's database/sql package.
|
Package mysql provides a MySQL driver for Go's database/sql package. |
Click to show internal directories.
Click to hide internal directories.