active

package
v0.0.0-...-3473e7d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2019 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbstractRecord

type AbstractRecord struct {
	// contains filtered or unexported fields
}

func NewAbstractRecord

func NewAbstractRecord(object interface{}, objectArray interface{}, db *sql.DB, extraOptions ...interface{}) *AbstractRecord

func (*AbstractRecord) All

func (e *AbstractRecord) All() error

func (*AbstractRecord) Count

func (e *AbstractRecord) Count(values ...interface{}) (int, error)

func (*AbstractRecord) Delete

func (e *AbstractRecord) Delete() error

func (*AbstractRecord) Find

func (e *AbstractRecord) Find(values ...interface{}) error

func (*AbstractRecord) Inner

func (e *AbstractRecord) Inner() *AbstractRecord

func (*AbstractRecord) Max

func (e *AbstractRecord) Max(value interface{}) (int, error)

func (*AbstractRecord) New

func (e *AbstractRecord) New(values ...interface{}) error

func (*AbstractRecord) NewWithDefaults

func (e *AbstractRecord) NewWithDefaults(values ...interface{}) error

func (*AbstractRecord) Paginate

func (e *AbstractRecord) Paginate(pk string, offset, pageSize int) *AbstractRecord

func (*AbstractRecord) SQL

func (e *AbstractRecord) SQL(sqlQuery string, values ...interface{}) ([]map[string]interface{}, error)

func (*AbstractRecord) Save

func (e *AbstractRecord) Save() error

func (*AbstractRecord) Update

func (e *AbstractRecord) Update(values ...interface{}) error

func (*AbstractRecord) Where

func (e *AbstractRecord) Where(values ...interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL