odata-client-php
odata-client-php copied to clipboard
OData Client Library for PHP
For example we have request like this `$people = $odataClient->from('People')->take(2)->get();` How I can get access to @odata.nextLink
Fixes #103
GET /service/Products?$filter=Name eq 'Milk' or Name eq 'Cheese' or Name eq 'Donut' can become GET /service/Products?$filter=Name in ('Milk', 'Cheese', 'Donut') https://docs.microsoft.com/en-us/odata/webapi/in-operator
As of OData 4.01, the in statement is supported. Here is the example from their documentation: > Example 56: all products whose name value is ‘Milk’ or ‘Cheese’: > >...
Hello Team, Can we have support of your module for Drupal ^9.3 with guzzlehttp/guzzle: ^6.3 because when we install module,it not allowing to install because drupal need guzzlehttp/guzzle: ^6.3 but...
I tried something like this (it didn't work). Is there a way to accomplish this or nah? ``` $data = [ 'foo'=>1, 'bar'=>2, 'RelationshipKey'=>['baz'=>3], ]; $client = new ODataClient($url); $client->query()->expand('RelationshipKey')->post('EntityName',...
Deprecated: Return type of SaintSystems\OData\Entity::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in
Is there a reason for removing keys which start with an underscore? https://github.com/saintsystems/odata-client-php/blob/master/src/Entity.php#L701 Is there a way to override this behaviour?
### Hello, Thank you for creating this project, its very good! I think that it will be really nice to refactor code which will do all package functionality with psr...
Hi, i am using your client and so far it ist working great. However i really need to add a random parameter and value to the request uri. Something like...