1. A computer-readable storage medium containing instructions to configure a processor to perform a operations comprising: receiving a first query; generating, based on a model including metadata representing a data structure, a second query specific to the data structure stored in a database; and sending the second query to the database.