class Q
  include DataMapper::Resource
  property :name, String, :key => true
  has n, :as
end
class A
  include DataMapper::Resource
  property :name, String, :key => true
  belongs_to :q
end

Q.all 'as.name' => [a1, a2, a3]


What  would you think the above should be doing, and what does it
actually do at the moment?

Yes, I want to select a Q having (exactly) the As with specified
names. What should I do?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to