ooodev.adapter.sdbcx.delete_rows_partial module
- class ooodev.adapter.sdbcx.delete_rows_partial.DeleteRowsPartial(component, interface=com.sun.star.sdbcx.XDeleteRows)[source]
Bases:
object
Partial class for XDeleteRows.
- Parameters:
component (XDeleteRows) –
interface (UnoInterface | None) –
- __init__(component, interface=com.sun.star.sdbcx.XDeleteRows)[source]
Constructor
- Parameters:
component (XDeleteRows) – UNO Component that implements
com.sun.star.container.XDeleteRows
interface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
XDeleteRows
.
- Return type:
None
- delete_rows(rows)[source]
Deletes one or more rows identified by their bookmarks.
- Parameters:
rows (Tuple[Any, ...]) – tuple of bookmarks identifying the rows.
- Returns:
A tuple of update counts containing one element for each row. The array is ordered according to the order in which bookmarks were given.
- Return type:
Tuple[int, …]