jeudi 22 décembre 2016

Is there a way to configure tests for the Java Google App Engine SDK to fail if a compound index is needed?

I'd like to configure LocalDatastoreServiceTestConfig such that queries will fail if a compound index is needed (e.g., a query with a sort on multiple properties). Is there a way to do this?

I tried new LocalDatastoreServiceTestConfig().setNoIndexAutoGen(true) but it had no effect.

(There is a corresponding way to do this with the Python SDK.)

Aucun commentaire:

Enregistrer un commentaire