Examples
The github repository contains a number of examples based on those shown in these manual pages.
01_basic_queries Connecting to a database and running some basic SQL queries.
02_named_queries Using named queries for reusability and to simplify your application code.
03_query_fragments Defining reusable query fragments that can be embedded into other queries.
04_tables Defining tables to get automatically generated insert, update, fetch and delete queries.
05_table_class Defining a custom table class with additional application-specific methods.
06_records Using records and defining a custom record class with additional application-specific methods.
07_musicdb. A more complete example of a music database demonstrating custom table and records classes, and the use of relations.
08_products. An example of a database with customers, products and orders.
09_debugging Enabling debugging to see what's going on behind the scenes.
10_custom_builder Adding a custom query builder component