The following code will retrieve query results as an array:
r.connect("localhost", 28015).repl()
db = r.db("search")
table = db.table("industries")
cursor = table.filter(lambda x: x['search_query'] == value)
rows = [x for x in cursor]
The following code will retrieve query results as an array:
r.connect("localhost", 28015).repl()
db = r.db("search")
table = db.table("industries")
cursor = table.filter(lambda x: x['search_query'] == value)
rows = [x for x in cursor]