sripathikrishnan / jinjasql

Template Language for SQL with Automatic Bind Parameter Extraction
MIT License
815 stars 89 forks source link

example of using Macro? #38

Open noklam opened 3 years ago

noklam commented 3 years ago

Is there an example showing how to use macros with this library? I want to build a CLI that renders the SQL with template SQL + variable. Macros would be useful for common snippets.