Documentation
¶
Index ¶
- Constants
- Variables
- func Create[T any]() (err error)
- func Delete[T any](tid uint64, id int64) (err error)
- func Insert(a timstruct) (seq int64, err error)
- func SelectAllByIdx[T any](columnName string, columnValue uint64) (as []*T, err error)
- func SelectAllByIdxWithTid[T any](tid uint64, columnName string, columnValue []byte) (as []*T, err error)
- func SelectById[T timstruct](tid []byte, id int64) (a *T, err error)
- func SelectByIdx[T any](columnName string, columnValue []byte) (a *T, err error)
- func SelectByIdxDescLimit[T any](id, limit int64, columnName string, columnValue []byte) (as []*T, err error)
- func SelectByIdxLimit[T any](startId, limit int64, columnName string, columnValue uint64) (as []*T, err error)
- func SelectByIdxWithInt[T any](columnName string, columnValue uint64) (a *T, err error)
- func SelectByIdxWithTid[T any](tid uint64, columnName string, columnValue []byte) (a *T, err error)
- func SelectIdByIdx[T timstruct](columnName string, columnValue []byte) (id int64, err error)
- func SelectIdByIdxSeq[T any](columnName string, columnValue []byte, id int64) (_r int64, err error)
- func TimeNano() int64
- func UpdateNonzero(a timstruct) (err error)
- type OfflineBean
Constants ¶
View Source
const ( Driver_Sqlite = "sqlite3" Driver_Postgres = "postgres" Driver_Mysql = "mysql" Driver_Sqlserver = "sqlserver" Driver_Oracle = "godror" )
Variables ¶
View Source
var Service service
Functions ¶
func SelectAllByIdx ¶
func SelectAllByIdxWithTid ¶
func SelectById ¶
func SelectByIdxDescLimit ¶
func SelectByIdxLimit ¶
func SelectByIdxWithInt ¶
func SelectByIdxWithTid ¶
func SelectIdByIdx ¶
func SelectIdByIdxSeq ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.