origin icon indicating copy to clipboard operation
origin copied to clipboard

Add Embedded Document Support to Aliasing

Open durran opened this issue 12 years ago • 0 comments

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")

durran avatar Sep 19 '12 12:09 durran