From b31c8c87f1ea6740d016133957569263d9f9198b Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Thu, 6 Apr 2023 21:48:35 +0200 Subject: [PATCH] Add more type --- .../fr/postgresjson/functionGenerator/FunctionGenerator.kt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/kotlin/fr/postgresjson/functionGenerator/FunctionGenerator.kt b/src/main/kotlin/fr/postgresjson/functionGenerator/FunctionGenerator.kt index c408f21..b443ddd 100644 --- a/src/main/kotlin/fr/postgresjson/functionGenerator/FunctionGenerator.kt +++ b/src/main/kotlin/fr/postgresjson/functionGenerator/FunctionGenerator.kt @@ -50,7 +50,14 @@ class FunctionGenerator(private val functionsDirectories: List) { "character" -> "String" "char" -> "String" "int" -> "Int" + "smallint" -> "Int" + "integer" -> "Int" + "bigint" -> "Int" + "decimal" -> "Float" + "real" -> "Float" + "double precision" -> "Float" "float" -> "Float" + "numeric" -> "Number" "boolean" -> "Boolean" "json" -> "S" "jsonb" -> "S"