1

DerbyJS uses ShareJS for its data synchronization. ShareJS stores various metadata values, as you can see here:

{ "id" : "ABCDEFG12345", "_type" : "http://sharejs.org/types/JSONv0", "_v" : 3, "_m" : { "mtime" : 1403674645713, "ctime" : 1403674645618 }, "_id" : "ABCDEFG12345" }

The _type, _v and _m fields are automatically generated by ShareJS.

I know there is a similar question over at Is it possible to access m.mtime or m.ctime from share.js in derby.js? , but the only provided solution is that it is possible to use these fields for querying.

Is there any way to access these properties from the fetched object using Derby ?

4

1 回答 1

2

不,这些字段在 ShareJS db 适配器级别是条带化的。

资源

于 2014-06-26T06:27:08.323 回答