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

I think we should show more example for query. #18

Closed
tonyw opened this issue Aug 6, 2013 · 3 comments
Closed

I think we should show more example for query. #18

tonyw opened this issue Aug 6, 2013 · 3 comments
Assignees

Comments

@tonyw
Copy link

tonyw commented Aug 6, 2013

I am a new guy for document db.So it's really difficult for me to run a query.So I think we should give more for new guys
thanks

@tonyw
Copy link
Author

tonyw commented Aug 6, 2013

In this case : db.EvalQuery(query, Feed, &feedMap); //feedMap only has keys
why the result's value empty.there're seems only has keys in result map?

@HouzuoGuo
Copy link
Owner

Indeed, I too realized that the query syntax looks quite ugly at the moment. I am working on simplify (hopefully also beautify) tiedot's query syntax.

Go does not have a Set data structure yet, but it is simple enough to emulate a Set using Map. A document should only appear once in query results, therefore results are store in a Set emulated by a Map.

@ghost ghost assigned HouzuoGuo Aug 16, 2013
@HouzuoGuo
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants