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

Add Embedded Document Support to Aliasing #46

Open
durran opened this issue Sep 19, 2012 · 0 comments
Open

Add Embedded Document Support to Aliasing #46

durran opened this issue Sep 19, 2012 · 0 comments
Labels
Milestone

Comments

@durran
Copy link
Member

durran commented Sep 19, 2012

See mongoid/mongoid#2361

We can allow Origin to look at operations with a . in them, and check for aliases under a fully embedded tree... For example:

# In the provided aliases:
{ "addresses" => { "name" => "n" }}

# Then the query could alias "name" to "n":
queryable.where("addresses.name" => "Köpenicker Landstraße")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant