mssql

package
v0.0.0-...-711f10a Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2017 License: GPL-2.0, GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArMsSql

type ArMsSql struct {
	ActiveRecord
	ID int `gorm:"primary_key" json:"id,omitempty"`
	//ID string `sql:"type:varchar(36)" gorm:"primary_key" json:"id,omitempty"`
	Timestamps
}

func (*ArMsSql) All

func (ar *ArMsSql) All(models interface{}, opts map[string]interface{}) (err error)

func (*ArMsSql) Client

func (ar *ArMsSql) Client() gorm.DB

func (*ArMsSql) DbDelete

func (ar *ArMsSql) DbDelete() (err error)

func (*ArMsSql) DbSave

func (ar *ArMsSql) DbSave() error

func (*ArMsSql) DbSearch

func (ar *ArMsSql) DbSearch(models interface{}) (err error)

func (*ArMsSql) Find

func (ar *ArMsSql) Find(id interface{}, out interface{}) error

func (*ArMsSql) SetKey

func (ar *ArMsSql) SetKey(key string)

func (*ArMsSql) SpExecResultSet

func (ar *ArMsSql) SpExecResultSet(spName string, params map[string]interface{}, models interface{}) (err error)

func (*ArMsSql) Truncate

func (ar *ArMsSql) Truncate() (numRowsDeleted int, err error)

Jump to

Keyboard shortcuts

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