Join Slack
Powered by
does anyone know of a postgres data type to kotlin...
# announcements
j
jchannon
11/28/2017, 8:18 PM
does anyone know of a postgres data type to kotlin data type dictionary? eg serial, int4, int8 matches Int
c
Czar
11/28/2017, 8:19 PM
Look at PostgreSQL -> Java and then Java -> Kotlin.
j
jchannon
11/28/2017, 8:20 PM
do you know any existing libs, code snippets?
c
Czar
11/28/2017, 8:23 PM
https://documentation.progress.com/output/DataDirect/DataDirectCloud/index.html#page/queries/postgresql-data-types.html
The second column is constants from `java.sql.Types`:
https://docs.oracle.com/javase/8/docs/api/java/sql/Types.html
Kotlin:
https://kotlinlang.org/docs/reference/java-interop.html#mapped-types
j
jchannon
11/28/2017, 8:26 PM
brill, thanks very much. i’m trying to tie up ResultSet metadata sql types to java types
29
Views
Open in Slack
Previous
Next