Primary key refactoring re. Un/Marshaling of JSON and the unique keys, plus the ApplyDelta() and 'defensive' changes introduced by Kortshack, also did some tidying up.

This commit is contained in:
panamafrancis 2015-02-25 10:40:27 +01:00
parent 299cca54cf
commit 55c1fe9e57
6 changed files with 186 additions and 51 deletions

View file

@ -228,7 +228,7 @@ func (it *Iterator) Next() bool {
it.offset = 0
it.buffer = make([]string, 0, bufferSize)
// Create query
// TODO (stefankoshiw) Keys only query?
// TODO (panamafrancis) Keys only query?
q := datastore.NewQuery(it.kind).Limit(bufferSize)
if !it.isAll {
// Filter on the direction {subject,objekt...}