From 75d0af7ce843ed4489e838518e103401469a3b1f Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Tue, 14 Jan 2025 17:55:17 -0800 Subject: [PATCH] doc: database query doc --- queries/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 queries/README.md diff --git a/queries/README.md b/queries/README.md new file mode 100644 index 0000000..fc5e58e --- /dev/null +++ b/queries/README.md @@ -0,0 +1,11 @@ +# Database Queries + +Because I chose sqlx, lots of the sql files have weird aliasing, such as this; + +```sql +SELECT cache_name AS "cache_name: _" +FROM records +LIMIT ? OFFSET ? +``` + +See: