Warning: session_start(): open(/var/lib/php/sessions/sess_0ifnm1gnqbmimfrh8i7e0iqr48, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static L findConceptsWhere(Class c, O... params) {
ret findConceptsWhere(mainConcepts, c, params);
}
static L findConceptsWhere(S c, O... params) {
ret findConceptsWhere(mainConcepts, c, params);
}
static L findConceptsWhere(Concepts concepts, Class c, O... params) {
params = expandParams(c, params);
// indexed
if (concepts.fieldIndices != null)
for (int i = 0; i < l(params); i += 2) {
IFieldIndex index = concepts.getFieldIndex(c, (S) params[i]);
if (index != null) {
print("Using index");
new L l;
for (A x : index.getAll(params[i+1]))
if (checkConceptFields(x, params)) l.add(x);
ret l;
}
}
// table scan
ret filterConcepts(concepts.list(c), params);
}
static L findConceptsWhere(Concepts concepts, S c, O... params) {
ret filterConcepts(concepts.list(c), params);
}