#106 CQuery: version without optional

Avoinna
2 vuotta sitten avasi ranides · 0 kommenttia
ranides kommentoitu 2 vuotta sitten

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.
Kirjaudu sisään osallistuaksesi tähän keskusteluun.
Ei merkkipaalua
Ei osoitettua
1 osallistujaa
Ladataan...
Peruuta
Tallenna
Sisältöä ei vielä ole.