2

「作業」オブジェクトのクラスがあります-すべて UserProfile クラスに関連しています。ローカル ユーザーに関連する Work オブジェクトをクエリしたい。それが私がする理由です:

Where<Work> where = new Where<>();
where.eq(Work.FIELD_USERIDID, UserProfile.FIELD_ID, userProfile.getId());
Syncano.getInstance().getObjects(Work.class).setWhereFilter(where).sendAsync(callback);

そして私は得る:

Response{resultCode=1, httpResultCode=400, error='{"query":"Field userProfile cannot be used in a query as it is not indexed."}', httpReasonPhrase='Bad Request', data=null}

UserProfile に関連するクラスを照会する正しい方法は何ですか?特定の UserProfile に関連するオブジェクトのみが必要ですか?

4

1 に答える 1