From cb15f3701f48806303157d9fdbc3b241ba7e4683 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Wed, 5 Aug 2026 06:23:38 -0400 Subject: [PATCH] remove "2" from Jinja branding in docs since that's how the project brands itself. --- README.md | 2 +- changelog.md | 2 +- mycli/TIPS | 2 +- mycli/myclirc | 4 ++-- test/myclirc | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index ea146029..c7f372cf 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ Features - `SELECT * FROM ` will only show table names. - `SELECT * FROM users WHERE ` will only show column names. * Support for multiline queries. -* Favorite queries with positional or named parameters using [Jinja2](https://jinja.palletsprojects.com/en/stable/). Save a query using +* Favorite queries with positional or named parameters using [Jinja](https://jinja.palletsprojects.com/en/stable/). Save a query using `/fs ` and execute it with `/f ` or `/f --key=value`. * Timing of sql statements and table rendering. * Log every query and its results to a file (disabled by default). diff --git a/changelog.md b/changelog.md index f2d6c5f7..81b60fcc 100644 --- a/changelog.md +++ b/changelog.md @@ -3,7 +3,7 @@ Upcoming (TBD) Features --------- -* Let favorite queries use Jinja2 templates, allowing optional arguments. +* Let favorite queries use Jinja templates, allowing optional arguments. Bugfixes diff --git a/mycli/TIPS b/mycli/TIPS index 48fc10df..bd3f8651 100644 --- a/mycli/TIPS +++ b/mycli/TIPS @@ -62,7 +62,7 @@ edit a query in an external editor using /edit ! /fd deletes a saved favorite query! -Favorite queries support Jinja2 templates and named arguments! +Favorite queries support Jinja templates and named arguments! /l lists databases! diff --git a/mycli/myclirc b/mycli/myclirc index c60c9cad..e756d138 100644 --- a/mycli/myclirc +++ b/mycli/myclirc @@ -499,13 +499,13 @@ matching-bracket.other = '#000000 bg:#aacccc' [favorite_queries] # example = "SELECT * FROM example_table WHERE id = 1" # -# Favorite queries can use the Jinja2 templating language. Named argument +# Favorite queries can use the Jinja templating language. Named argument # values are available as keys in a dictionary named "kv". # Run this example templated query with: /f find_user --name=henry # Any keys refereed to by name will be available as completions. # find_user = "SELECT * FROM users WHERE name = '{{ kv.name }}'" # -# Jinja2 parameters are optional. +# Jinja parameters are optional. # Run this example templated query with: /f recent_user --name=henry # or alternatively, with different behavior: /f recent_user # recent_user = "SELECT * FROM users WHERE create_date >= NOW() - INTERVAL 1 DAY {% if kv.name %} AND name = '{{ kv.name }}' {% endif %}" diff --git a/test/myclirc b/test/myclirc index e36c38f3..a2a503b5 100644 --- a/test/myclirc +++ b/test/myclirc @@ -499,13 +499,13 @@ matching-bracket.other = '#000000 bg:#aacccc' [favorite_queries] # example = "SELECT * FROM example_table WHERE id = 1" # -# Favorite queries can use the Jinja2 templating language. Named argument +# Favorite queries can use the Jinja templating language. Named argument # values are available as keys in a dictionary named "kv". # Run this example templated query with: /f find_user --name=henry # Any keys refereed to by name will be available as completions. # find_user = "SELECT * FROM users WHERE name = '{{ kv.name }}'" # -# Jinja2 parameters are optional. +# Jinja parameters are optional. # Run this example templated query with: /f recent_user --name=henry # or alternatively, with different behavior: /f recent_user # recent_user = "SELECT * FROM users WHERE create_date >= NOW() - INTERVAL 1 DAY {% if kv.name %} AND name = '{{ kv.name }}' {% endif %}"