ufoss-org / kotysa

The idiomatic way to write type-safe SQL in Kotlin
The Unlicense
117 stars 1 forks source link

Add support for float and double values #110

Closed joseluisgs closed 1 year ago

joseluisgs commented 1 year ago

Hi Is there support for double values? https://ufoss.org/kotysa/table-mapping.html#h2 I see integer, BiigInt... thank you

pull-vert commented 1 year ago

Hi @joseluisgs double values are not yet supported, I add this feature for the 2.3.1 release (should be pretty soon, 2.3.0 is almost ready now !)

H2 : REAL -> java.lang.Float, DOUBLE PRECISION -> java.lang.Double MariaDB : FLOAT -> java.lang.Float, DOUBLE PRECISION -> java.lang.Double MSSQL : REAL -> java.lang.Float, FLOAT -> java.lang.Double MySQL : FLOAT -> java.lang.Float, DOUBLE PRECISION -> java.lang.Double PostgreSQL : REAL -> java.lang.Float, DOUBLE PRECISION -> java.lang.Double SqLite : REAL -> java.lang.Float, REAL-> java.lang.Double

joseluisgs commented 1 year ago

Thank you!! :+1: @pull-vert

pull-vert commented 1 year ago

hi @joseluisgs , Float, Double and Bigdecimal support was released yesterday in Kotysa 2.3.3 :slightly_smiling_face:

joseluisgs commented 1 year ago

Thank you so much. You are great!!! 💪💪