From bdfbabb8aac57b527f4f092f3540c1fce2967cdc Mon Sep 17 00:00:00 2001 From: Eugene Datsky Date: Tue, 11 Jun 2024 16:34:51 +1000 Subject: [PATCH] Add . to the template example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6d6a5e2..6dd4933 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ A quick example: # Dump only matching users - table: users - query: "SELECT * FROM users WHERE {{matching_user_id}}" + query: "SELECT * FROM users WHERE {{.matching_user_id}}" post_actions: - "SELECT pg_catalog.setval('users_id_seq', MAX(id) + 1, true) FROM users" @@ -81,7 +81,7 @@ A quick example: SELECT purchases.* FROM purchases, users WHERE purchases.buyer_id = users.id - AND {{matching_user_id}} + AND {{.matching_user_id}} Currently, these top-level keys are available: