You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to golang and gorethinkdb. my existing project needs some immediate fix. so can someone pls help how to write the following code snippets
in gorethindb way.
shop := []string{"x", "y", "z"} //This is dynamic
category_data := []string{"a", "b", "c"} /this is dynamic/
r.Table("population").GetIntersecting(bboxPolygon, r.GetIntersectingOpts{Index: "coordinates"})
.Filter({ |p|
p["shop"].match(shop[0]) || p["shop"].match(shop[1]) ... || p["category"].includes(category_data)
})
.Run(store.RawSession)
The text was updated successfully, but these errors were encountered:
I am new to golang and gorethinkdb. my existing project needs some immediate fix. so can someone pls help how to write the following code snippets
in gorethindb way.
shop := []string{"x", "y", "z"} //This is dynamic
category_data := []string{"a", "b", "c"} /this is dynamic/
r.Table("population").GetIntersecting(bboxPolygon, r.GetIntersectingOpts{Index: "coordinates"})
.Filter({ |p|
p["shop"].match(shop[0]) || p["shop"].match(shop[1]) ... || p["category"].includes(category_data)
})
.Run(store.RawSession)
The text was updated successfully, but these errors were encountered: