query by a set of ID's
  • How would I do this kind of query in VaeQL:
    I have a real-estate database with a list of properties, and I want to send a query to return an arbitrary collection by ID. In SQL it would be something like
    select * from properties where ID in (2,3,5,6,7)

  • 1 Answer sorted by
  • Do it like this:

    path="properties[@id=2 or @id=3 or @id=4]"

    Kevin

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

In this Discussion