可以說我想檢索4個對象。什麼是快:Google App Engine:與查詢相比,基於密鑰的查找速度快多少?
1. for (int i = 0; i < 4; i++) {
persistenceManager.getObjectById(object1)
}
或
2. Query = (select * from objects where id == 'id1' || id == 'id2' || id == 'id3' || id == 'id4')
感謝