Comments (7)
You can see an example here:
https://github.com/StefH/angular-odata-es5/blob/master/demo/employeeGridOData.component.ts#L68
from angular-odata-es5.
wow, that was a fast answer ;) thanks
The example is very informativ, yes
But what is this Apply Method, just to complete it
Thanks
from angular-odata-es5.
Apply is for applying selection and filter.
Exec is for exetuting the query using http calls
from angular-odata-es5.
Another thing:
It seems that the Delete command cannot handle guids ?
this.odataService.Delete(guid'${id}'
).Exec();
In Postman for example i use:
odata/Employees(guid'1ab0c115-f8dd-415e-bbeb-7f6f905962ad')
This is the way Web Api 2 accepts guids in odata, without it i get an error.
from angular-odata-es5.
I did not test this specific scenario, however you could just call .Delete('3dde7303-5414-4af6-b96b-591f33d25445')
?
from angular-odata-es5.
@nickwinger Any update on this issue?
from angular-odata-es5.
Right now i have to create my own post , because the library does not support the guid notation of odata
from angular-odata-es5.
Related Issues (20)
- Can i use this lib with target es6 project?
- Date parameters are quoted
- Update to angular >=11 HOT 4
- Query in request body option?
- Reordering of Custom Query Options
- Update to angular 12 / 13 / ...... HOT 14
- Update to angular 13
- Cannot Compile with Angular 15 HOT 3
- Post with odata.bind? Documentation missing, at least
- Params in DefaultRequestOptions missing in request. HOT 1
- Any chance to support lambda style interface? HOT 1
- Custom collection function is not parsed with handleResponse HOT 3
- Feature request: add support for expand and select operations on custom functions
- Add support for Angular 8
- error trying to adapt code from demo: config factory
- Angular 9 update HOT 5
- Allow body to json on PUT/POST/PATCH HOT 5
- HttpPatch Header Options to return patched object
- Cannot build project with Angular v10 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-odata-es5.