Skip to content

Commit

Permalink
add links to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacov committed Aug 31, 2018
1 parent 6ffbc71 commit 2684e8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/tsl/tsl_bson_walk.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ func bsonFromArray(a interface{}) (values []*bson.Value, err error) {
// // Run query
// cur, _ := collection.Find(ctx, bson.NewDocument(filter))
//
// mongo-go-driver: https://github.com/mongodb/mongo-go-driver
//
func BSONWalk(n Node) (b *bson.Element, err error) {
var values []*bson.Value
var l, r *bson.Element
Expand Down
2 changes: 2 additions & 0 deletions pkg/tsl/tsl_squirrel_walk.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ func (n notExpr) ToSql() (sql string, args []interface{}, err error) {
// Where(filter).
// ToSql()
//
// Squirrel: https://github.com/Masterminds/squirrel
//
func SquirrelWalk(n Node) (s sq.Sqlizer, err error) {
var l, r sq.Sqlizer

Expand Down

0 comments on commit 2684e8d

Please sign in to comment.