odata-query icon indicating copy to clipboard operation
odata-query copied to clipboard

OData v4 query builder

Results 32 odata-query issues
Sort by recently updated
recently updated
newest added

I have a a following `buildQueryTest.mjs`: ```javascript import buildQuery from "odata-query"; console.log(buildQuery({ top: 5 })); ``` It fails the following way: ``` michal@dzieni dataverse-poc % node buildQueryTest.mjs file:///Users/michal/Projects/dataverse-poc/buildQueryTest.mjs:3 console.log(buildQuery({ top:...

Hi, thank you for your amazing query builder. I ran into this problem: if I pass a filter object with this structure: `{ "Module1/Module_CategoryModule": { "any": { "Module_CategoryId": { "eq":...

Hi Sean, First of all, thanks for your package, it saves a lot of time creating those queries. I'm facing an issue that deeper objects result in double queries. Please...

So to better enforce type safety in a project - a developer may want to say let's only allow a string that adheres to _keyof_ some TYPE for OData operations...

This query works fine: ``` $apply=groupby(mfs/ID, aggregate(mfs(im_foo with average as Value))) ``` But odata-query can't produce that nested 'mfs' part wrapped in the aggregate () ``` $apply=groupby(mfs/ID, aggregate(mfs(im_foo with average...

I have the following scenario: ```ts class User { id: string; [...] teams: Member[]; } class Member { userId: string; user: User; teamId: string; team: Team; } class Team {...

This changeset manages #95 and enhances the Filter type in order to build filter objects as `TypedFilter` or `Array`. In this way it would be possible to have type safety...

It would be nice to have typed filter in order to avoid typo in the property names. As an example: ``` interface Square { width: number; height: number; } const...

- refactor - split code into modules - upgrade ts, jest versions No new code created, just split.

Need to be able to create a filter like the following: ```javascript contains(cast(id,'String'),'medib') or contains(obj, 'medib') ``` Is there anyway to do this using this library? Read through the docs...