Documentation ¶
Index ¶
- type InsertStmt
- func (stmt *InsertStmt) AddBatch() error
- func (stmt *InsertStmt) BindParam(params []*param.Param, bindType *param.ColumnType) error
- func (stmt *InsertStmt) Close() error
- func (stmt *InsertStmt) Execute() error
- func (stmt *InsertStmt) GetAffectedRows() int
- func (stmt *InsertStmt) Prepare(sql string) error
- func (stmt *InsertStmt) SetSubTableName(name string) error
- func (stmt *InsertStmt) SetTableName(name string) error
- func (stmt *InsertStmt) SetTableNameWithTags(tableName string, tags *param.Param) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsertStmt ¶
type InsertStmt struct {
// contains filtered or unexported fields
}
func NewInsertStmt ¶
func NewInsertStmt(taosConn unsafe.Pointer) *InsertStmt
func NewInsertStmtWithReqID ¶
func NewInsertStmtWithReqID(taosConn unsafe.Pointer, reqID int64) *InsertStmt
func (*InsertStmt) AddBatch ¶
func (stmt *InsertStmt) AddBatch() error
func (*InsertStmt) BindParam ¶
func (stmt *InsertStmt) BindParam(params []*param.Param, bindType *param.ColumnType) error
func (*InsertStmt) Close ¶
func (stmt *InsertStmt) Close() error
func (*InsertStmt) Execute ¶
func (stmt *InsertStmt) Execute() error
func (*InsertStmt) GetAffectedRows ¶
func (stmt *InsertStmt) GetAffectedRows() int
func (*InsertStmt) Prepare ¶
func (stmt *InsertStmt) Prepare(sql string) error
func (*InsertStmt) SetSubTableName ¶
func (stmt *InsertStmt) SetSubTableName(name string) error
func (*InsertStmt) SetTableName ¶
func (stmt *InsertStmt) SetTableName(name string) error
func (*InsertStmt) SetTableNameWithTags ¶
func (stmt *InsertStmt) SetTableNameWithTags(tableName string, tags *param.Param) error
Click to show internal directories.
Click to hide internal directories.