loopback-datasource-juggler/lib
Dimitris Halatsis af8cf19242 Persist changes on parent for embedsOne
Allow direct save of changes on embedded model to be persisted on
parent document.

    Person.embedsOne(Address);
    Person.findById(someId)
      .then(function(p){
        var address = p.addressItem();
        address.street = 'new street'
        // This will now persist changes on parent document
        return address.save();
      })
2016-06-07 17:09:34 +02:00
..
connectors eslint config 2.0 + remove extra empty lines 2016-04-19 17:06:04 +02:00
browser.depd.js Insert copyright headers 2016-04-06 16:51:49 +02:00
dao.js Retun err for UPSERT if the connector returns err 2016-06-02 08:31:13 -04:00
datasource.js Backport ESLint from master 2016-05-20 17:35:23 +02:00
geo.js Backport ESLint from master 2016-05-20 17:35:23 +02:00
hooks.js Backport ESLint from master 2016-05-20 17:35:23 +02:00
include.js Backport ESLint from master 2016-05-20 17:35:23 +02:00
include_utils.js eslint config 2.0 + remove extra empty lines 2016-04-19 17:06:04 +02:00
introspection.js Backport ESLint from master 2016-05-20 17:35:23 +02:00
jutil.js Backport ESLint from master 2016-05-20 17:35:23 +02:00
list.js Run `eslint --fix` with config from master 2016-04-18 16:00:04 +02:00
mixins.js Run `eslint --fix` with config from master 2016-04-18 16:00:04 +02:00
model-builder.js ModelBuilder: add new setting strictEmbeddedModels 2016-06-01 13:42:55 +02:00
model-definition.js Run `eslint --fix` with config from master 2016-04-18 16:00:04 +02:00
model.js Backport ESLint from master 2016-05-20 17:35:23 +02:00
observer.js Run `eslint --fix` with config from master 2016-04-18 16:00:04 +02:00
relation-definition.js Persist changes on parent for embedsOne 2016-06-07 17:09:34 +02:00
relations.js Run `eslint --fix` with config from master 2016-04-18 16:00:04 +02:00
scope.js Backport ESLint from master 2016-05-20 17:35:23 +02:00
transaction.js eslint config 2.0 + remove extra empty lines 2016-04-19 17:06:04 +02:00
types.js Backport ESLint from master 2016-05-20 17:35:23 +02:00
utils.js Backport ESLint from master 2016-05-20 17:35:23 +02:00
validations.js Backport ESLint from master 2016-05-20 17:35:23 +02:00