From 7c26ed97c2f20a1aa53c8334ed700e8f6a3c7af5 Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Thu, 21 Jan 2021 20:22:05 +0100 Subject: [PATCH] Mention explicitly-indexed variables --- docs/content/en/docs/Using SQL/custom_queries.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/content/en/docs/Using SQL/custom_queries.md b/docs/content/en/docs/Using SQL/custom_queries.md index a5bf8319..affda6a4 100644 --- a/docs/content/en/docs/Using SQL/custom_queries.md +++ b/docs/content/en/docs/Using SQL/custom_queries.md @@ -108,6 +108,9 @@ Stream amountOfTodosInCategory(int id) { } ``` +Of course, you can also use indexed variables (like `?12`) - for more information on them, see +[the sqlite3 documentation](https://sqlite.org/lang_expr.html#varparam). + ## Custom update statements For update and delete statements, you can use `customUpdate`. Just like `customSelect`, that method also takes a sql statement and optional variables. You can also tell moor which tables will be