odata-client-php
odata-client-php copied to clipboard
OData Client Library for PHP
Hi, I'm trying to do a `where` chained together with an `orWhere`. But it fails: ``` $orders1 = $odataClient->from('orders') ->where([ ['Sell_to_Customer_No', '=', $customerNo], ["Document_No", ">=", $term], ]) ->orWhere([ ['Sell_to_Customer_No', '=',...
Hi, Does anyone know how to implement a does not contains, for example get all products where product_title does not contain "DISCONTINUED"? I thought it might have been ->where('product_title', '!contains',...
since delete only worked on a single entity I added whereKey($id)
ODataClient::get() is described in phpdoc as returning IODataRequest object. This method further calls ODataClient::request() (the same @return IODataRequest object description). What gets called in the end is \SaintSystems\OData\ODataRequest::execute() which is...
Hi, Thanks for this amazing library, however I'm having problems trying to filter a query using a date field in D365. They way this accepts is is `$filter= lt 2021-01-12T14:21:02Z`....
Fixes #64 When doing a $batch request, response will be a batch body response rather than straight json. Sometimes this response will have json as part of a change set....
Can you please give me example how we can update existing record value i can post to odata than record is got created but not getting how to update an...
```shell user@notebook:~/PhpStormProjects/my-project $ ddev composer require saintsystems/odata-client Using version ^0.6.0 for saintsystems/odata-client ./composer.json has been updated Running composer update saintsystems/odata-client Loading composer repositories with package information Updating dependencies Your requirements...
..and add it into the `suggest` section of composer.js on given that one could provide their own implementation of the `IHttpProvider` interface resolves #82