Skip to content

roc-types

Pre-release
Pre-release
Compare
Choose a tag to compare
@penland365 penland365 released this 10 May 18:29
· 29 commits to master since this release
v0.0.2

The roc-types modules is being released in this module. This includes type aliases for basic types including:

  • smallint => Short
  • int => Int
  • bigint => Long
  • real => Float
  • double precision => Double
  • char => Char (Note this is a C-Style understanding of a Char, not a UTF Rune)
  • text/CHARACTER VARYING => String
  • bool => Boolean
  • JSON/JSONB => Json (via Jawn)
  • Date => Date = java.time.LocalDate
  • Time => Time = java.time.LocalTime
  • TIME WITH TIME ZONE => TimestampWithTZ = java.time.ZonedDateTime
  • NULL => Option