how do I do a select on a column?

45 views
Skip to first unread message

Johnny TwoShoes

unread,
Jan 2, 2016, 10:10:38 AM1/2/16
to Realm Java
Hi,

How do I do a select on a column only? On two columns? thanks in advance?

regaeds

Mulong Chen

unread,
Jan 3, 2016, 8:32:06 PM1/3/16
to Johnny Twoshoes, realm...@googlegroups.com
Hi,

What do you mean "select on column only"? Realm is doing lazy loading all the time which means the data will
be fetched only when you are calling getters. It doesn't make too much sense to select columns only since
if you don't need a column, just don't call the getters.

If you need some help on queries, here is the doc https://realm.io/docs/java/latest/#queries

--
Mulong Chen

{#HS:156565438-2590#}
--
You received this message because you are subscribed to the Google Groups "Realm Java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to realm-java+...@googlegroups.com.
To post to this group, send email to realm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/realm-java/fd314fce-bff4-470b-8df6-0c5fe83e2009%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



Reply all
Reply to author
Forward
0 new messages