Open devmondo opened 9 years ago
+1
+1
Yes, this seems pretty straightforward:
.filter( TEXT_INPUT )
to the queryYeah?
+1
@neumino sorry you mentioned on twitter to do a pull request to solve this but I thought a pull request was to submit code, not to download a branch - any possibility that you could post the code here for a quick filter/search?
I added a route to get data for just 1 keyword (in my db, the keyword is the primary id) - but I'm a bit confounded as to how to get the table to show just that data. The route is pulling up the data fine, I get the result in the front end and all looks good - but I don't see an easy way to display the record.
My route:
exports.getKeyword = function (req, res) { var primaryKey = req.body.primary; var db = req.body.db; var table = req.body.table; r.db(db).table(table).get(primaryKey).run( connection, {timeFormat: 'raw'}, function(error, result) { if (error) handleError(error); res.json({ error: error, result: result }); }) }
ah I prepended an input field on top of the app, which calls this route with the keyword
awesome work man, could we have a way to search or filter data ?