How to use the odata.save function in odata

To help you get started, we’ve selected a few odata examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DefinitelyTyped / DefinitelyTyped / types / odata / odata-tests.ts View on Github external
.then(function(oHandler) {
        oHandler.data.Name="NewName";
        return(o.save());
    }).then(function(oHandler) {
        console.log(oHandler.data.Name); //NewName

odata

o.js is a isomorphic Odata Javascript library to simplify the request of data. The main goal is to build a standalone, lightweight and easy to understand Odata lib.

MIT
Latest version published 3 months ago

Package Health Score

76 / 100
Full package analysis