Templates
Overview
File Location and Naming
~/.sling/templates/{database_type}.yamlExamples
Template Structure
1. core - SQL DDL/DML Templates
2. metadata - Schema Information Queries
3. analysis - Analytical Queries
4. function - Database-Specific Functions
5. general_type_map - Generic to Database Type Mapping
6. native_type_map - Database Type to Generic Mapping
7. variable - Database Variables
Examples
Example 1: Custom PostgreSQL Table Creation with Compression
Example 2: Custom Snowflake Type Mappings
Example 3: Modified Metadata Query for Custom Schemas
Example 4: MySQL with Specific Collation
How It Works
Last updated
Was this helpful?