-
Notifications
You must be signed in to change notification settings - Fork 4
Query Templates
Trevor DeVore edited this page Nov 28, 2018
·
2 revisions
SQL Query templates can be used to create SQL Query object with predefined properties.
While SQL Query Template objects can be created via the sqlquerytmpl_createObject API, it is simpler to create them in a query templates.yml
file. You can see a list of the available object properties by referring to the sqlquerytmpl_set documentation.
Here is some example YAML for creating SQL Query Template objects:
query templates:
- name: next sequence in project
select clause: MAX(sequence)
SQL Yoga USER GUIDE
- Home
- SQL Yoga Objects
- Database Objects
- Connection Objects
- SQL Query Objects
- SQL Record Objects
- Table Objects
- Table Object Behaviors
- Relationships
- Scopes
- Schema
- Working with User Search Strings
- SQL Query Template Objects
- Error Handling
- Migrating from SQL Yoga 1.x
- Integrating with the Levure Application Framework