You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param logical_name: Logical (singular) entity name, e.g. ``"account"``.
162
-
:type logical_name: str
161
+
:type logical_name: ``str``
163
162
:param ids: Single GUID string or list of GUID strings to update.
164
-
:type ids: str or list[str]
163
+
:type ids: ``str`` or ``list[str]``
165
164
:param changes: Dictionary of changes for single/broadcast mode, or list of dictionaries
166
165
for paired mode. When ``ids`` is a list and ``changes`` is a single dict,
167
166
the same changes are broadcast to all records. When both are lists, they must
168
167
have equal length for one-to-one mapping.
169
-
:type changes: dict or list[dict]
168
+
:type changes: ``dict`` or ``list[dict]``
170
169
171
170
:raises TypeError: If ``ids`` is not str or list[str], or if ``changes`` type doesn't match usage pattern.
172
171
173
172
.. note::
174
-
Single updates discard the response representation for better performance.
175
-
For broadcast or paired updates, the method delegates to the internal client's
176
-
batch update logic.
173
+
Single updates discard the response representation for better performance. For broadcast or paired updates, the method delegates to the internal client's batch update logic.
177
174
178
175
Example:
179
176
Single record update::
@@ -214,18 +211,18 @@ def delete(
214
211
Delete one or more records by GUID.
215
212
216
213
:param logical_name: Logical (singular) entity name, e.g. ``"account"``.
217
-
:type logical_name: str
214
+
:type logical_name: ``str``
218
215
:param ids: Single GUID string or list of GUID strings to delete.
219
-
:type ids: str or list[str]
216
+
:type ids: ``str`` or ``list[str]``
220
217
:param use_bulk_delete: When ``True`` (default) and ``ids`` is a list, execute the BulkDelete action and
221
218
return its async job identifier. When ``False`` each record is deleted sequentially.
222
-
:type use_bulk_delete: bool
219
+
:type use_bulk_delete: ``bool``
223
220
224
221
:raises TypeError: If ``ids`` is not str or list[str].
225
222
:raises HttpError: If the underlying Web API delete request fails.
226
223
227
224
:return: BulkDelete job ID when deleting multiple records via BulkDelete; otherwise ``None``.
228
-
:rtype: str or None
225
+
:rtype: ``str`` or ``None``
229
226
230
227
Example:
231
228
Delete a single record::
@@ -270,25 +267,25 @@ def get(
270
267
When ``record_id`` is None, returns a generator yielding batches of records.
271
268
272
269
:param logical_name: Logical (singular) entity name, e.g. ``"account"``.
273
-
:type logical_name: str
270
+
:type logical_name: ``str``
274
271
:param record_id: Optional GUID to fetch a specific record. If None, queries multiple records.
275
-
:type record_id: str or None
272
+
:type record_id: ``str`` or ``None``
276
273
:param select: Optional list of attribute logical names to retrieve.
277
-
:type select: list[str] or None
274
+
:type select: ``list[str]`` or ``None``
278
275
:param filter: Optional OData filter string, e.g. ``"name eq 'Contoso'"``.
279
-
:type filter: str or None
276
+
:type filter: ``str`` or ``None``
280
277
:param orderby: Optional list of attributes to sort by, e.g. ``["name asc", "createdon desc"]``.
281
-
:type orderby: list[str] or None
278
+
:type orderby: ``list[str]`` or ``None``
282
279
:param top: Optional maximum number of records to return.
283
-
:type top: int or None
280
+
:type top: ``int`` or ``None``
284
281
:param expand: Optional list of navigation properties to expand.
285
-
:type expand: list[str] or None
282
+
:type expand: ``list[str]`` or ``None``
286
283
:param page_size: Optional number of records per page for pagination.
287
-
:type page_size: int or None
284
+
:type page_size: ``int`` or ``None``
288
285
289
286
:return: Single record dict if ``record_id`` is provided, otherwise a generator
290
287
yielding lists of record dictionaries (one list per page).
291
-
:rtype: dict or Iterable[list[dict]]
288
+
:rtype: ``dict`` or ``Iterable[list[dict]]``
292
289
293
290
:raises TypeError: If ``record_id`` is provided but not a string.
:return: List of result row dictionaries. Returns an empty list if no rows match.
349
-
:rtype: list[dict]
346
+
:rtype: ``list[dict]``
350
347
351
348
:raises ~PowerPlatform.Dataverse.core.errors.SQLParseError: If the SQL query uses unsupported syntax.
352
349
:raises ~PowerPlatform.Dataverse.core.errors.HttpError: If the Web API returns an error.
353
350
354
351
.. note::
355
-
The SQL support is limited to read-only queries. Complex joins, subqueries,
356
-
and certain SQL functions may not be supported. Consult the Dataverse
357
-
documentation for the current feature set.
352
+
The SQL support is limited to read-only queries. Complex joins, subqueries, and certain SQL functions may not be supported. Consult the Dataverse documentation for the current feature set.
0 commit comments