conditions

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConditionsBase

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

type DBFusionData

type DBFusionData interface {
	GetQuery() interface{}
	SetQuery(interface{})
	GetValues() interface{}
	SetValues(interface{})
	SetCacheKey(string)
	GetCacheKey() string
	SetCacheValues(string)
	GetCacheValues() string
}

type MongoData

type MongoData struct {
	Query       primitive.D
	CacheKey    string
	CacheValues string
}

func (*MongoData) GetCacheKey

func (md *MongoData) GetCacheKey() string

func (*MongoData) GetCacheValues

func (md *MongoData) GetCacheValues() string

func (*MongoData) GetQuery

func (md *MongoData) GetQuery() interface{}

func (*MongoData) GetValues

func (md *MongoData) GetValues() interface{}

func (*MongoData) SetCacheKey

func (md *MongoData) SetCacheKey(cacheKey string)

func (*MongoData) SetCacheValues

func (md *MongoData) SetCacheValues(values string)

func (*MongoData) SetQuery

func (md *MongoData) SetQuery(query interface{})

func (*MongoData) SetValues

func (md *MongoData) SetValues(data interface{})

type SqlData

type SqlData struct {
	Query             string
	Values            []interface{}
	CacheKey          string
	CacheValues       string
	QueryDefaultCache bool
}

func (*SqlData) GetCacheKey

func (sd *SqlData) GetCacheKey() string

func (*SqlData) GetCacheValues

func (sd *SqlData) GetCacheValues() string

func (*SqlData) GetQuery

func (sd *SqlData) GetQuery() interface{}

func (*SqlData) GetValues

func (sd *SqlData) GetValues() interface{}

func (*SqlData) SetCacheKey

func (sd *SqlData) SetCacheKey(cacheKey string)

func (*SqlData) SetCacheValues

func (sd *SqlData) SetCacheValues(cachecValues string)

func (*SqlData) SetQuery

func (sd *SqlData) SetQuery(query interface{})

func (*SqlData) SetValues

func (sd *SqlData) SetValues(values interface{})

Jump to

Keyboard shortcuts

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