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
- OData CRUD — Unified methods `create(logical_name, record|records)`, `update(logical_name, id|ids, patch|patches)`, `delete(logical_name, id|ids)` plus `get`with record id or filters.
7
7
- Bulk create — Pass a list of records to `create(...)` to invoke the bound `CreateMultiple` action; returns `list[str]` of GUIDs. If any payload omits `@odata.type` the SDK resolves and stamps it (cached).
8
8
- Bulk update — Provide a list of IDs with a single patch (broadcast) or a list of per‑record patches to `update(...)`; internally uses the bound `UpdateMultiple` action; returns nothing. Each record must include the primary key attribute when sent to UpdateMultiple.
9
-
- Retrieve multiple (paging) — Generator-based `get_multiple(...)` that yields pages, supports `$top` and Prefer: `odata.maxpagesize` (`page_size`).
9
+
- Retrieve multiple (paging) — Generator-based `get(...)` that yields pages, supports `$top` and Prefer: `odata.maxpagesize` (`page_size`).
10
10
- Upload files — Call `upload_file(logical_name, ...)` and an upload method will be auto picked (you can override the mode). See https://learn.microsoft.com/en-us/power-apps/developer/data-platform/file-column-data?tabs=sdk#upload-files
- Bulk create via `CreateMultiple` (collection-bound) by passing `list[dict]` to `create(logical_name, payloads)`; returns list of created IDs.
21
21
- Bulk update via `UpdateMultiple` (invoked internally) by calling unified `update(logical_name, ids, patch|patches)`; returns nothing.
22
-
- Retrieve multiple with server-driven paging: `get_multiple(...)` yields lists (pages) following `@odata.nextLink`. Control total via `$top` and per-page via `page_size` (Prefer: `odata.maxpagesize`).
22
+
- Retrieve multiple with server-driven paging: `get(...)` yields lists (pages) following `@odata.nextLink`. Control total via `$top` and per-page via `page_size` (Prefer: `odata.maxpagesize`).
23
23
- Upload files, using either a single request (supports file size up to 128 MB) or chunk upload under the hood
24
24
- Optional pandas integration (`PandasODataClient`) for DataFrame based create / get / query.
25
25
@@ -35,7 +35,7 @@ Auth:
35
35
|`create`|`create(logical_name, record_dict)`|`list[str]` (len 1) | Single create; GUID from `OData-EntityId`. |
36
36
|`create`|`create(logical_name, list[record_dict])`|`list[str]`| Uses `CreateMultiple`; stamps `@odata.type` if missing. |
37
37
|`get`|`get(logical_name, id)`|`dict`| One record; supply GUID (with/without parentheses). |
|`update`|`update(logical_name, id, patch)`|`None`| Single update; no representation returned. |
40
40
|`update`|`update(logical_name, list[id], patch)`|`None`| Broadcast; same patch applied to all IDs (UpdateMultiple). |
41
41
|`update`|`update(logical_name, list[id], list[patch])`|`None`| 1:1 patches; lengths must match (UpdateMultiple). |
@@ -216,10 +216,10 @@ Notes:
216
216
217
217
## Retrieve multiple with paging
218
218
219
-
Use `get_multiple(logical_name, ...)` to stream results page-by-page. You can cap total results with `$top` and hint the per-page size with `page_size` (sets Prefer: `odata.maxpagesize`).
219
+
Use `get(logical_name, ...)` to stream results page-by-page. You can cap total results with `$top` and hint the per-page size with `page_size` (sets Prefer: `odata.maxpagesize`).
filter="contains(name,'Acme') and statecode eq 0",
@@ -338,7 +338,7 @@ Notes:
338
338
-`create` always returns a list of GUIDs (length 1 for single input).
339
339
-`update` and `delete` return `None` for both single and multi.
340
340
- Passing a list of payloads to `create` triggers bulk create and returns `list[str]` of IDs.
341
-
-Use `get_multiple` for paging through result sets; prefer `select` to limit columns.
341
+
-`get` supports single record retrieval with record id or paging through result sets (prefer `select` to limit columns).
342
342
- For CRUD methods that take a record id, pass the GUID string (36-char hyphenated). Parentheses around the GUID are accepted but not required.
343
343
* SQL queries are executed directly against entity set endpoints using the `?sql=` parameter. Supported subset only (single SELECT, optional WHERE/TOP/ORDER BY, alias). Unsupported constructs will be rejected by the service.
0 commit comments