Creates a new Query instance with property initialization.
Properties specified here will be set on objects when they are constructed from database rows using Object.new_with_properties.
| db |
The database instance to use |
| table |
The name of the table to query |
| names |
Array of property names to set on constructed objects |
| values |
Array of property values (must match names array length) |