#106 CQuery: version without optional

Atvērta
ranides atvēra 2 gadi atpakaļ · 0 komentāri

We need unsafe methods which doesn't return Optional but null.

Or throw exceptions.

First option is to create unsafe getters inside CQuery itselft: instead of using query.first().get() we could use query.$first()

Another option is to create new class: CNullableQuery and remove all optionals from it.

We need _unsafe_ methods which doesn't return `Optional` but null. Or throw exceptions. First option is to create unsafe getters inside CQuery itselft: instead of using `query.first().get()` we could use `query.$first()` Another option is to create new class: `CNullableQuery` and remove all optionals from it.
Pierakstieties, lai pievienotos šai sarunai.
Nav atskaites punktu
Nav atbildīgā
1 dalībnieki
Notiek ielāde...
Atcelt
Saglabāt
Vēl nav satura.