droitatedDB/src/main/java/org/droitateddb/EntityService.java
public List<E> find(final String selection, final String[] selectionArgs, final String order) {
        SQLiteDatabase database = openDB();
        try {
            Cursor cursor = database.query(tableName, null, selection, selectionArgs, null, null, order);
            return CursorOperation.tryOnCursor(cursor, new CursorOperation<List<E>>() {
                @Override
                public List<E> execute(final Cursor cursor) {
                    return new ArrayList<E>(CombinedCursorImpl.create(context, cursor, entityInfo, entityClass).getAll());
                }
            });
        } finally {
            closeDB(database);
        }
    }
public List<E> find(final String selection, final String[] selectionArgs, final String order) {
        SQLiteDatabase database = openDB();
        try {
            Cursor cursor = database.query(tableName, null, selection, selectionArgs, null, null, order);
            return CursorOperation.tryOnCursor(cursor, new CursorOperation<List<E>>() {
                @Override
                public List<E> execute(final Cursor cursor) {
                    return new ArrayList<E>(CombinedCursorImpl.create(context, cursor, entityInfo, entityClass).getAll());
                }
            });
        } finally {
            closeDB(database);
        }
    }
Search for {@link Entity}s in the database with basic SQL WHERE statements.

@param selection     SQL WHERE statement
@param selectionArgs Arguments for the WHERE statement
@param order         Sort order of the result
@return All found {@link Entity}s or an empty list of non are found