-
Notifications
You must be signed in to change notification settings - Fork 40
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
compound index and key joining #11
Comments
Checkout this unit test page for key joining https://github.com/yathit/ydn-db/blob/master/test/algo/sorted_merge_test.js For compound index, it is straight forward to use. |
Thanks please help me |
Hi, Can you please create a working example of IndexValueCursors or give me the list of file used as when I download the entire project from https://github.com/yathit/ydn-db and try to run file inside each folder it gives error Thanks |
Hey neera, try downloading a build of the library that includes Cursor iteration. If you go to the download page you can build a custom library using the form. Yathit, I see that you have this set up on bower, but it doesn't seem to install right-- any good build directions you'd suggest outside of your website? Thanks! |
Yeah, I was unable to have time on bower working on each update. I will have to remove bower configuration file. |
Hello Yathit
Thanks you for your patience for answering my queries.
I checked the link below -
http://dev.yathit.com/ydn-db/nosql-query.html
for compound index and key joining but did not get it . I am attaching snap shot of scheme with data . Can you please provide the proper syntax for query or provide me the link of working example.
I am using the below code here 1817 is my qid and 2 is sidn
key_range = ydn.db.KeyRange.bound(['1817', '2']);
db.values(new ydn.db.IndexValueCursors('todo',key_range)).done(function(d) {
console.log(d);
}
);
It gives me error undefined is not a function in line ( new ydn.db.IndexValueCursors() )
can you please let me know is there I have to include another js file as I am using only ydn.db-dev.js and is my syntax is write
The text was updated successfully, but these errors were encountered: