docs(python): add missing parameter documentation for when_matched_update_all (#3536)

Fixes #2493

Added target. prefix requirement to where parameter docstring.
This commit is contained in:
Neo-X7
2026-07-01 22:58:58 +05:30
committed by GitHub
parent d889321b5e
commit 17c499177f

View File

@@ -51,6 +51,15 @@ class LanceMergeInsertBuilder(object):
If there are multiple matches then the behavior is undefined.
Currently this causes multiple copies of the row to be created
but that behavior is subject to change.
Parameters
----------
where: Optional[str], default None
An optional filter to limit which rows are updated. Column
references in this expression must be prefixed with "target."
to refer to the existing table data. For example, to only
update rows where the existing color is red, use:
``where="target.color = 'red'"``
"""
self._when_matched_update_all = True
self._when_matched_update_all_condition = where