CoreSQLTime

package
v5.2.40 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBetweenByTime

func GetBetweenByTime(fieldsName string, args FieldsCoreTime, maps map[string]interface{}) (query string, newMaps map[string]interface{})

GetBetweenByTime 获取时间范围的mgo Deprecated

func GetBetweenByTimeAnd

func GetBetweenByTimeAnd(fieldsName string, args FieldsCoreTime, query string, maps map[string]interface{}) (newQuery string, newMaps map[string]interface{})

GetBetweenByTimeAnd 带有query处理的方法 Deprecated

Types

type DataCoreTime

type DataCoreTime struct {
	//最小时间
	// ISO时间
	MinTime string `json:"minTime" check:"isoTime"`
	//最大时间
	// ISO时间
	MaxTime string `json:"maxTime" check:"isoTime"`
}

DataCoreTime 外部参数类型 Deprecated

type FieldsCoreTime

type FieldsCoreTime struct {
	//最小时间
	MinTime time.Time `json:"minTime"`
	//最大时间
	MaxTime time.Time `json:"maxTime"`
}

FieldsCoreTime 时间周期选择器和处理器 Deprecated

func GetBetweenByISO

func GetBetweenByISO(args DataCoreTime) (data FieldsCoreTime, err error)

GetBetweenByISO 将ISO时间转为标准时间 Deprecated

Jump to

Keyboard shortcuts

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