Kamirus / purescript-selda

A type-safe, high-level SQL library for PureScript
MIT License
90 stars 3 forks source link

Handle more SQL types #32

Open paluh opened 4 years ago

paluh commented 4 years ago

In SQL1992 we have:

SQL defines distinct data types named by the following <key word>s:
CHARACTER, CHARACTER VARYING, BIT, BIT VARYING, NUMERIC, DECIMAL,
INTEGER, SMALLINT, FLOAT, REAL, DOUBLE PRECISION, DATE, TIME,
TIMESTAMP, and INTERVAL.

For sure we can easily extend and add support for DOUBLE PRECISION (Number). We can also explore datetime related types and check if all interesting db backends handle these values consistently.