openpss / com.hendraanggrian.openpss.db / SessionWrapper / get

get

inline operator fun <S : DocumentSchema<D>, D : Document<S>> S.get(id: Id<String, S>): DocumentSchemaQueryWrapper<S, String, D>

Realm-style find by id.

inline operator fun <S : DocumentSchema<D>, D : Document<S>> S.get(document: D): DocumentSchemaQueryWrapper<S, String, D>

Find by id associated with document.