sqlweld 0.2.0

Create SQL files from templates and partials
Documentation
1
2
3
4
{% import "perm_check" as macros %}
SELECT * FROM some_objects
WHERE id=$[obj_id] AND team = $[team_id]
AND {{ macros::perm_check(table="'some_objects'") }}