dao

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: Zlib Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

type Dao struct {
	Sql   db.SqlDatabase
	Redis redis.Client
}

Dao https://gorm.io/docs/query.html

func (*Dao) Condition

func (d *Dao) Condition(dbname string, data interface{}, call db.ConditionCallback) result.Result

func (*Dao) IsNotFound

func (d *Dao) IsNotFound(db *gorm.DB) int

Directories

Path Synopsis
* * @author huqiuyun * 数据Elasticsearch * * @author huqiuyun * 数据服务
* * @author huqiuyun * 数据Elasticsearch * * @author huqiuyun * 数据服务

Jump to

Keyboard shortcuts

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