package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: May 27, 2017
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package expandInDBCommon contains common functions for expandInDBDepth and expandInDBSeq packages.
func ProcessScalarField(fullName interface{}, field FieldVars, options *expand.Options) bson.M
ProcessScalarField generates operations that process scalar field in aggregation pipeline.
func ProcessStringField(fullName interface{}, field FieldVars, options *expand.Options) bson.M
ProcessStringField generates operations that process string field in aggregation pipeline.
type FieldVars struct {
Name interface{}
Type interface{}
Value interface{}
Level uint
}
FieldVars is an auxiliary structure that serves to build aggregation in the database.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.