Java Code Examples for de.greenrobot.dao.internal.SqlUtils#appendColumns()
The following examples show how to use
de.greenrobot.dao.internal.SqlUtils#appendColumns() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: UserDao.java From BrainPhaser with GNU General Public License v3.0 | 5 votes |
protected String getSelectDeep() { if (selectDeep == null) { StringBuilder builder = new StringBuilder("SELECT "); SqlUtils.appendColumns(builder, "T", getAllColumns()); builder.append(','); SqlUtils.appendColumns(builder, "T0", daoSession.getSettingsDao().getAllColumns()); builder.append(" FROM USER T"); builder.append(" LEFT JOIN SETTINGS T0 ON T.\"SETTINGS_ID\"=T0.\"_id\""); builder.append(' '); selectDeep = builder.toString(); } return selectDeep; }
Example 2
Source File: CompletionDao.java From BrainPhaser with GNU General Public License v3.0 | 5 votes |
protected String getSelectDeep() { if (selectDeep == null) { StringBuilder builder = new StringBuilder("SELECT "); SqlUtils.appendColumns(builder, "T", getAllColumns()); builder.append(','); SqlUtils.appendColumns(builder, "T0", daoSession.getChallengeDao().getAllColumns()); builder.append(" FROM COMPLETION T"); builder.append(" LEFT JOIN CHALLENGE T0 ON T.\"CHALLENGE_ID\"=T0.\"_id\""); builder.append(' '); selectDeep = builder.toString(); } return selectDeep; }
Example 3
Source File: StatisticsDao.java From BrainPhaser with GNU General Public License v3.0 | 5 votes |
protected String getSelectDeep() { if (selectDeep == null) { StringBuilder builder = new StringBuilder("SELECT "); SqlUtils.appendColumns(builder, "T", getAllColumns()); builder.append(','); SqlUtils.appendColumns(builder, "T0", daoSession.getChallengeDao().getAllColumns()); builder.append(" FROM STATISTICS T"); builder.append(" LEFT JOIN CHALLENGE T0 ON T.\"CHALLENGE_ID\"=T0.\"_id\""); builder.append(' '); selectDeep = builder.toString(); } return selectDeep; }
Example 4
Source File: CollectEntityDao.java From MeiZiNews with MIT License | 5 votes |
protected String getSelectDeep() { if (selectDeep == null) { StringBuilder builder = new StringBuilder("SELECT "); SqlUtils.appendColumns(builder, "T", getAllColumns()); builder.append(','); SqlUtils.appendColumns(builder, "T0", daoSession.getHtmlEntityDao().getAllColumns()); builder.append(" FROM COLLECT_ENTITY T"); builder.append(" LEFT JOIN HTML_ENTITY T0 ON T.\"HTML_ID\"=T0.\"_id\""); builder.append(' '); selectDeep = builder.toString(); } return selectDeep; }
Example 5
Source File: operatorsDao.java From RxJavaApp with Apache License 2.0 | 5 votes |
protected String getSelectDeep() { if (selectDeep == null) { StringBuilder builder = new StringBuilder("SELECT "); SqlUtils.appendColumns(builder, "T", getAllColumns()); builder.append(','); SqlUtils.appendColumns(builder, "T0", daoSession.getAlloperatorsDao().getAllColumns()); builder.append(" FROM OPERATORS T"); builder.append(" LEFT JOIN ALLOPERATORS T0 ON T.\"OUTER_ID\"=T0.\"_id\""); builder.append(' '); selectDeep = builder.toString(); } return selectDeep; }
Example 6
Source File: alloperatorsDao.java From RxJavaApp with Apache License 2.0 | 5 votes |
protected String getSelectDeep() { if (selectDeep == null) { StringBuilder builder = new StringBuilder("SELECT "); SqlUtils.appendColumns(builder, "T", getAllColumns()); builder.append(','); SqlUtils.appendColumns(builder, "T0", daoSession.getOperatorsDao().getAllColumns()); builder.append(" FROM ALLOPERATORS T"); builder.append(" LEFT JOIN OPERATORS T0 ON T.\"OPERATORS_ID\"=T0.\"_id\""); builder.append(' '); selectDeep = builder.toString(); } return selectDeep; }
Example 7
Source File: ContactDao.java From AndroidDatabaseLibraryComparison with MIT License | 5 votes |
protected String getSelectDeep() { if (selectDeep == null) { StringBuilder builder = new StringBuilder("SELECT "); SqlUtils.appendColumns(builder, "T", getAllColumns()); builder.append(','); SqlUtils.appendColumns(builder, "T0", daoSession.getAddressBookDao().getAllColumns()); builder.append(" FROM CONTACT T"); builder.append(" LEFT JOIN ADDRESS_BOOK T0 ON T.'_id'=T0.'_id'"); builder.append(' '); selectDeep = builder.toString(); } return selectDeep; }
Example 8
Source File: AddressItemDao.java From AndroidDatabaseLibraryComparison with MIT License | 5 votes |
protected String getSelectDeep() { if (selectDeep == null) { StringBuilder builder = new StringBuilder("SELECT "); SqlUtils.appendColumns(builder, "T", getAllColumns()); builder.append(','); SqlUtils.appendColumns(builder, "T0", daoSession.getAddressBookDao().getAllColumns()); builder.append(" FROM ADDRESS_ITEM T"); builder.append(" LEFT JOIN ADDRESS_BOOK T0 ON T.'_id'=T0.'_id'"); builder.append(' '); selectDeep = builder.toString(); } return selectDeep; }