Skip to content

Commit

Permalink
- updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Shabalin committed Nov 27, 2024
1 parent 3495f23 commit 58a1e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down

0 comments on commit 58a1e78

Please sign in to comment.