Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

SQL sync adapter documentation VS source code

$
0
0

The Sync adapter documentation states:

> [...] These sync adapters assign the id attribute of the models, which means if you assign > an ID when creating a model, it is overridden by any sync operations.

However this contradicts the previous statement

> The client application can also assign its own ID either when creating a model or in the > implementation of the sync method rather than using the primary key returned by a server > or database.

which is supported by the implementation in sql/alloy/sync.js.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>