exasol / sql-statement-builder

Build SQL statements safely without string concatenation
MIT License
25 stars 4 forks source link

Always add day to string representation of INTERVAL DAY TO SECOND #11

Closed redcatbear closed 6 years ago

redcatbear commented 6 years ago

Description

Writing to a column of type DAY TO SECOND fails if the day is omitted.

Steps to Reproduce

  1. Try writing a string that contains the time only (e.g. 00:00:01.001)
  2. Error occurs

Expected behavior

Rendered string representation can be used in INSERT command without modification.

Environment

redcatbear commented 6 years ago

Fixed.