From 58a1e7886358694914d4a6e6b54cbfb8408e8856 Mon Sep 17 00:00:00 2001 From: Aleksandr Shabalin <shabalin.a@2gis.ru> Date: Wed, 27 Nov 2024 13:30:06 +0300 Subject: [PATCH] - updated doc --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index de79c9f..7573343 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ object Dao { } } ``` -As you can see `${Columns[Model]}` expands to `pk, ck, data, meta_data`, `${Values[Model]}` to `?, ?, ?, ?`, `${Assignment[Data]}` to `pk = ?, ck = ?, data = ?, meta_data = ?` and `${EqualsTo[Key]}` expands to `pk = ? and ck = ? and data = ? and meta_data = ?`. +As you can see `${Columns[Model]}` expands to `pk, ck, data, meta_data`, `${Values[Model]}` to `?, ?, ?, ?`, `${Assignment[Data]}` to `data = ?, meta_data = ?` and `${EqualsTo[Key]}` expands to `pk = ? and ck = ?`. Latter three types adjust query type as well for being able to bind corresponding values ### Handling optional fields (`null`)