Documentation ¶
Overview ¶
* @Author: lisheng * @Date: 2022-10-13 14:12:44 * @LastEditTime: 2022-11-04 23:09:02 * @LastEditors: lisheng * @Description: Tdengine驱动 * @FilePath: /gitee.com/liqiyuworks/jf-go-kit/database/tdengine/tdengine.go
Index ¶
- func CreateDBEngnine(user, pwd, addr string, port int) *zorm.DBDao
- func DBKeepAlive()
- func InitTdClient() func() error
- func RestDeleteRecordPtr(exeSql string, objPtr interface{}) error
- func RestFindRecordsPtr(exeSql string, objPtr interface{}) error
- func RestInsertRecordPtr(exeSql string, objPtr interface{})
- func RestUpdateRecordPtr(exeSql string, objPtr interface{}) error
- type TDengineManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RestDeleteRecordPtr ¶
*
- @description: D - 更新数据
- @param {string} exeSql
- @param {interface{}} objPtr
- @return {*}
- @author: liqiyuWorks
func RestFindRecordsPtr ¶
*
- @description: R - TD查询返回数组结构体
- @param {string} exeSql
- @param {interface{}} objPtr
- @return {*}
- @author: liqiyuWorks
func RestInsertRecordPtr ¶
func RestInsertRecordPtr(exeSql string, objPtr interface{})
*
- @description: C - 插入数据
- @param {string} exeSql
- @param {interface{}} objPtr
- @return {*}
- @author: liqiyuWorks
func RestUpdateRecordPtr ¶
*
- @description: U - 更新数据
- @param {string} exeSql
- @param {interface{}} objPtr
- @return {*}
- @author: liqiyuWorks
Types ¶
type TDengineManager ¶
var (
GTDengineManager *TDengineManager = new(TDengineManager)
)
Click to show internal directories.
Click to hide internal directories.