Documentation ¶
Overview ¶
Package mongo helps to create mongo BSON filters using the TSL package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Walk ¶
Walk travel the TSL tree to create mongo-go-driver bson select operators.
Users can call the Walk method to filter a mongo Find.
// Prepare filter filter, _ := mongo.Walk(tree) // Run query cur, _ := collection.Find(ctx, filter)
mongo-go-driver: https://github.com/mongodb/mongo-go-driver
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.