Syntax
Properties
A raw SQL query that defines the view.
Examples
SQL view with primary key
Need help? Get answers from the docs with Omni's in-app AI! Log in to your Omni instance and open the AI Assistant in the sidebar.
Defines a view from a SQL query.
sql: |
SELECT <statement>
sql: |
SELECT *
FROM users
LIMIT 10
dimensions:
id:
sql: id
primary_key: true
first_name:
sql: first_name
Was this page helpful?