What problem does it solve?
This Skill addresses common performance bottlenecks and inefficiencies when querying FileMaker data via OData, ensuring faster and more reliable data retrieval.
Core Features & Use Cases
- Selective Field Fetching: Reduces payload size by only requesting necessary fields using
select().
- Efficient Pagination: Implements
top() and skip() for manageable data retrieval.
- Batch Operations: Consolidates multiple requests into a single HTTP call to minimize round trips.
- Entity ID Resilience: Uses FileMaker Entity IDs (FMTID/FMFID) to prevent query failures due to renaming of fields or tables.
- Debugging Tools: Provides
getQueryString() to inspect generated OData URLs.
- Use Case: When fetching a list of users, instead of retrieving all fields, use
select({ name: users.name, email: users.email }) to only get the name and email, significantly speeding up the response.
Quick Start
Use the odata-query-optimization skill to fetch only the name and email fields for users, applying a filter for active users.