How to create and configure sources within your Latitude project
.yaml
or .yml
.queries
directory. This includes being nested within any subdirectories under queries
..yaml
file represents a unique connection. Do not mix multiple connections in a single file..yaml
filename in your queries to reference the source..sql
query files and .yaml
source files should all reside within the queries
directory or its subdirectories.queries
directory.
Example:
total_subscriptions_by_country.sql
will use postgresql.yaml
as its source since it doesn’t have a closer source file in its directory (aggregations
).