SQL variables
Reference variables that template the SQL in your models and make it reusable
${field}- reference a field in the current model${model.field}- reference a field in another model${TABLE}- reference the current table's sql reference${qyra.attributes.my_attr_1}- a user attribute calledmy_attr_1- (optional)
ldas an alias forqyra - (optional)
attributeorattras an alias forattributes
- (optional)
${"{"{"}"}qyra.user.<intrinsic_attribute>{"}"}- reference anintrinsic_attributeof the current Qyra user- (optional)
ldas an alias forqyra - available intrinsic user attributes:
email
- (optional)
The user email attribute is only available when the email is verified.
This is a security measure to prevent users from creating/updating an account with any email they don't own and gain access to data they shouldn't see.
If the user email is not verified you will get the following error:

models:
- name: example
meta:
sql_filter: ${qyra.user.email} = 'example@qyraflow.com'If you are self hosting you can enable SMTP or SSO authentication to allow users to verify their email address.