Commit ba3bcd6
committed
chore: release version 2.4.0 with unique text constraint and conflict handling
- Added `unique_text` parameter in `create_table` for enforcing uniqueness on the text column.
- Introduced `on_conflict` parameter in `add` method to manage duplicate entries with options: "error", "ignore", and "replace".
- Implemented validation for `on_conflict` values to ensure only accepted options are used.
- Updated tests to cover unique text constraints and all conflict resolution strategies.
- Updated version in `pyproject.toml` and added `uv.lock` file.1 parent 466d941 commit ba3bcd6
3 files changed
Lines changed: 35 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
8 | 16 | | |
9 | 17 | | |
10 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments