MCPcopy Create free account
hub / github.com/Odoo-mobile/framework / getLocalIdsDomain

Method getLocalIdsDomain

src/com/odoo/orm/OEHelper.java:385–393  ·  view source on GitHub ↗
(String operator)

Source from the content-addressed store, hash-verified

383 }
384
385 private OEDomain getLocalIdsDomain(String operator) {
386 OEDomain domain = new OEDomain();
387 JSONArray ids = new JSONArray();
388 for (OEDataRow row : mDatabase.select()) {
389 ids.put(row.getInt("id"));
390 }
391 domain.add("id", operator, ids);
392 return domain;
393 }
394
395 private List<OEDataRow> search_read(boolean getRemain) {
396 List<OEDataRow> rows = new ArrayList<OEDataRow>();

Callers 1

search_readMethod · 0.95

Calls 4

selectMethod · 0.45
putMethod · 0.45
getIntMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected