objectbox-java icon indicating copy to clipboard operation
objectbox-java copied to clipboard

How to exclude a column data to fetch from database?

Open manishSharmaJmd opened this issue 8 years ago • 2 comments

I am getting OOM. @greenrobot , can you please tell me how can i exclude a column while fetching data from database?

manishSharmaJmd avatar Nov 19 '18 07:11 manishSharmaJmd

This is already tracked via #348. As a workaround, you can extract the column into a new entity, and have a relation to the new entity.

greenrobot avatar Nov 19 '18 09:11 greenrobot

Actually my requirement is like , i want to select all rows of database which is having 4 columns in a table named user :

name, email, phone, password.

I want to get all data from user table from 3 columns by excluding password column.

developer-int avatar Nov 19 '18 10:11 developer-int