Ai
1 Star 0 Fork 0

xingang/gcore

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
IQueryable2.go 954 Bytes
一键复制 编辑 原始数据 按行查看 历史
xingang 提交于 2022-12-08 14:39 +08:00 . 测试BaseDao2
package dbUtils
import (
"context"
"gitee.com/qq358678184_admin/gcore/helper"
)
type IQueryable2 interface {
From(tableName string) IQueryable2
Take(size int32) IQueryable2
WhereIf(condition string, arg interface{}, condtion bool) IQueryable2
Where(condition string, arg interface{}) IQueryable2
WhereIn(fieldName string, args []interface{}, condition bool) IQueryable2
In(fieldName string, args ...interface{}) IQueryable2
Order(orderField string) IQueryable2
OrderByDesc(orderField string) IQueryable2
Page(pageIndex int, pageSize int, beansPtr interface{}, ctx context.Context) *helper.QueryResult
List(beansPtr interface{}, ctx context.Context)
FirstOrDefault(beanPtr interface{}, ctx context.Context)
Delete(ctx context.Context) int64
Count(ctx context.Context) int64
Set(field string, arg interface{}) IQueryable2
Update(ctx context.Context) bool
GetWhereMap() map[string]interface{}
SelectFields(fields string) IQueryable2
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qq358678184_admin/gcore.git
git@gitee.com:qq358678184_admin/gcore.git
qq358678184_admin
gcore
gcore
996657994fe3

搜索帮助