Query.with_properties


Description:

public Query.with_properties (Database db, string table, string[] names, Value[] values)

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.

Parameters:

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)