Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert a fetch ReQL query to a feed/stream #642

Open
prashathsenthil opened this issue Dec 11, 2017 · 0 comments
Open

Convert a fetch ReQL query to a feed/stream #642

prashathsenthil opened this issue Dec 11, 2017 · 0 comments

Comments

@prashathsenthil
Copy link

Hi,

I have the below ReQL query and would like to convert it to a stream, i'm using thinky (version ~2.2.4).

Query - r.db('my_db').table('my_table').getAll('/mypath', { index: 'path' }) .filter(r.row('lastUpdatedBy').eq('some_id'))

The above query returns the data as a cursor but can it be altered to return a feed/stream (like row by row). Please advice!

@prashathsenthil prashathsenthil changed the title Convert a fetch reql query to a feed/stream Convert a fetch ReQL query to a feed/stream Dec 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant