Documentation ¶
Index ¶
- Constants
- Variables
- type Account
- func (this *Account) AccountAccount(account_id1, account_id2 int64, status string) int64
- func (s *Account) CheckDetail(where string, value interface{}) bool
- func (s *Account) EditByObject(a *entity.Account) int64
- func (this *Account) GetListPublic(sqlSelectFields, join, condition, search string, page, perPage int64, ...) ([]*entity.Account, int64)
- func (this *Account) Upsert(action byte, img string, args ...interface{}) int64
- type Category
- type CrudPostgres
- func (s *CrudPostgres) Count(malina *berry.Malina, query string, args ...interface{})
- func (this *CrudPostgres) Delete(querySql string, args ...interface{}) int64
- func (s *CrudPostgres) GetItem(malina *berry.Malina, item entity.Scanable, query string, args ...interface{})
- func (s *CrudPostgres) GetItems(malina *berry.Malina, item entity.Scanable, query string, args ...interface{})
- func (this *CrudPostgres) Insert(querySql string, args ...interface{}) int64
- func (this *CrudPostgres) Join(malina *berry.Malina, pre, table, on string)
- func (this *CrudPostgres) Limit(malina *berry.Malina, perPage, page int64)
- func (this *CrudPostgres) OrderBy(malina *berry.Malina, key, dir string)
- func (this *CrudPostgres) Select(malina *berry.Malina, selectSql string)
- func (s *CrudPostgres) SetDBConnection() error
- func (this *CrudPostgres) Table(malina *berry.Malina, tableSql string)
- func (this *CrudPostgres) Update(querySql string, args ...interface{}) int64
- func (this *CrudPostgres) WhereAnd(malina *berry.Malina, key string, value string)
- type News
- type Parameter
- type Permission
- type Product
- type Session
Constants ¶
View Source
const TAG = "CrudPostgres"
Variables ¶
View Source
var AuthModel = new(authModel)
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { }
func (*Account) AccountAccount ¶
func (*Account) CheckDetail ¶
func (*Account) GetListPublic ¶
type CrudPostgres ¶
var CrudGeneral *CrudPostgres
func (*CrudPostgres) Count ¶
func (s *CrudPostgres) Count(malina *berry.Malina, query string, args ...interface{})
func (*CrudPostgres) Delete ¶
func (this *CrudPostgres) Delete(querySql string, args ...interface{}) int64
func (*CrudPostgres) Insert ¶
func (this *CrudPostgres) Insert(querySql string, args ...interface{}) int64
func (*CrudPostgres) Join ¶
func (this *CrudPostgres) Join(malina *berry.Malina, pre, table, on string)
func (*CrudPostgres) Limit ¶
func (this *CrudPostgres) Limit(malina *berry.Malina, perPage, page int64)
func (*CrudPostgres) OrderBy ¶
func (this *CrudPostgres) OrderBy(malina *berry.Malina, key, dir string)
func (*CrudPostgres) Select ¶
func (this *CrudPostgres) Select(malina *berry.Malina, selectSql string)
func (*CrudPostgres) SetDBConnection ¶
func (s *CrudPostgres) SetDBConnection() error
func (*CrudPostgres) Update ¶
func (this *CrudPostgres) Update(querySql string, args ...interface{}) int64
type News ¶
type News struct { Crud CrudPostgres // contains filtered or unexported fields }
type Permission ¶
type Permission struct { }
Click to show internal directories.
Click to hide internal directories.