Documentation ¶
Index ¶
- func Contains(s []string, e string) (bool, int)
- type AbstractModel
- func (a AbstractModel) All(table string, pagination Pagination) (*sql.Rows, error)
- func (a AbstractModel) Count(table string) (int, error)
- func (a AbstractModel) Create(table string) (sql.Result, error)
- func (a AbstractModel) Delete(table string, keys []string, values []string) (sql.Result, error)
- func (a AbstractModel) FindByKey(table string, conditions []string, keys []string, operations []string, ...) (*sql.Rows, error)
- func (a AbstractModel) NextCode(table string, pimaryKey string) (int, error)
- func (a AbstractModel) Update(table string, keys []string) (sql.Result, error)
- type Pagination
- type ReturnAll
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AbstractModel ¶
func (AbstractModel) All ¶
func (a AbstractModel) All(table string, pagination Pagination) (*sql.Rows, error)
type Pagination ¶
func MountPagination ¶
func MountPagination(ctx iris.Context) Pagination
Click to show internal directories.
Click to hide internal directories.