Versions in this module Expand all Collapse all v0 v0.1.2 Aug 3, 2024 v0.1.1 Jun 2, 2024 v0.1.0 Mar 4, 2024 Changes in this version + const All + const And + const Between + const Bulk + const By + const Count + const Delete + const Equal + const Exists + const False + const Find + const GreaterThan + const GreaterThanEqual + const In + const Insert + const LessThan + const LessThanEqual + const Many + const NotBetween + const NotEqual + const NotExists + const NotIn + const One + const OperateMany + const OperateOne + const Or + const Transaction + const True + const Update + type BulkParse struct + BelongedToMethod *extract.InterfaceMethod + CtxParamName string + Operations []Operation + func (bp *BulkParse) GetOperationName() string + type ConnectionOpTree struct + LeftChildren *ConnectionOpTree + MongoFieldName string + Name string + ParamNames []string + RightChildren *ConnectionOpTree + type CountParse struct + BelongedToMethod *extract.InterfaceMethod + CtxParamName string + Query *Query + func (cp *CountParse) GetOperationName() string + type DeleteParse struct + BelongedToMethod *extract.InterfaceMethod + CtxParamName string + OperateMode OperateMode + Query *Query + func (dp *DeleteParse) GetOperationName() string + type FindParse struct + BelongedToMethod *extract.InterfaceMethod + CtxParamName string + LimitParamName string + OperateMode OperateMode + Order Order + Project []string + Query *Query + ReturnType code.Type + SkipParamName string + func (fp *FindParse) GetOperationName() string + type InsertParse struct + BelongedToMethod *extract.InterfaceMethod + MethodParamNames [2]string + OperateMode OperateMode + func (ip *InsertParse) GetOperationName() string + type InterfaceOperation struct + BelongedToStruct *extract.IdlExtractStruct + Operations []Operation + func HandleOperations(structs []*extract.IdlExtractStruct) (result []*InterfaceOperation, err error) + type OperateMode int + type Operation interface + GetOperationName func() string + type Order struct + Asc []string + Desc []string + type Query struct + ConnectionOpTree *ConnectionOpTree + QueryMode QueryMode + type QueryComparator string + type QueryConnectionOp string + type QueryMode string + type TransactionOperation struct + CollectionParamName string + Operation Operation + type TransactionParse struct + BelongedToMethod *extract.InterfaceMethod + ClientParamName string + CtxParamName string + TransactionOperations []TransactionOperation + func (tp *TransactionParse) GetOperationName() string + type UpdateField struct + MongoFieldName string + ParamName string + type UpdateParse struct + BelongedToMethod *extract.InterfaceMethod + CtxParamName string + OperateMode OperateMode + Query *Query + UpdateFields []UpdateField + UpdateStructObjName string + Upsert bool + func (up *UpdateParse) GetOperationName() string