Commit c159a70
committed
docs: align upsert_many scope notes with reverted single-row API
Post-revert (116b813), the docstring on
``OnConflictUpsert.supports_native_upsert`` was still the generic
"Check if the dialect supports native upsert operations." Replace it
with the precise scope: the flag is for the single-row
``create_upsert`` API on true ON-CONFLICT dialects; MERGE / INSERT
OR UPDATE go through ``Repository.upsert_many`` and aren't reported
here.
Also extend ``docs/usage/repositories/basics.rst`` with a "Server-managed
PK safety net" bullet documenting the resolver's transparent fallback
when MERGE / INSERT OR UPDATE rows are missing PK columns — the same
behavior the new ``BigIntPrimaryKey`` skip guards in the chunk-size
tests exist to side-step.1 parent 9e3e6ad commit c159a70
2 files changed
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
413 | 421 | | |
414 | 422 | | |
415 | 423 | | |
416 | 424 | | |
417 | 425 | | |
418 | | - | |
| 426 | + | |
| 427 | + | |
419 | 428 | | |
420 | 429 | | |
421 | 430 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
187 | 196 | | |
188 | 197 | | |
189 | 198 | | |
| |||
0 commit comments