https://kotlinlang.org logo
#korge
Title
# korge
y

y9san9

09/29/2021, 11:05 AM
@Deactivated User, Hi. Could you please help with using BigInt and sql delight if you had experience with the last 🙂
cc @Denmusic92
r

RezMike

09/29/2021, 11:09 AM
What problem do you have?
y

y9san9

09/29/2021, 11:11 AM
@RezMike, Denis Chorny asking how to save BigInt with sqldelight, I've just forwarded the message
r

RezMike

09/29/2021, 11:17 AM
@y9san9 what about saving it as string? using
toString()
and
BigInt(string)
?
y

y9san9

09/29/2021, 11:19 AM
It is the last way we would like to do, but before we should check for type providers or something like this. Sqlight have BIGINT type that is acceptable for us.
d

Deactivated User

09/29/2021, 11:30 AM
Never used sql delight. Does it support providing custom serializers/deserializers?
Is there anything I can do here on my side to help you with that?
y

y9san9

09/29/2021, 2:34 PM
No, sorry for mention, just asked if you had experience 🙂 We've solved the problem by serializing it to string.
d

Deactivated User

09/29/2021, 2:34 PM
Ohh I see :) okay then. Glad you managed to somehow handle that 👍
4 Views