mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-11 18:48:36 -05:00
Adding validation of timespan columns w/in 24hrs (#275)
Very small feature add to make sure that values entered for `TIME` columns are < 24hrs. If the value is >=24hrs when setting the column, an exception will be thrown that the edit/updateCell handler will catch and convert into an error on the JSON RPC side. * Adding validation of timespan columns * Fixing a merge conflict
This commit is contained in:
@@ -551,6 +551,11 @@
|
||||
<target state="new">Cannot add row to result buffer, data reader does not contain rows</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EditDataTimeOver24Hrs">
|
||||
<source>TIME column values must be between 00:00:00.0000000 and 23:59:59.9999999</source>
|
||||
<target state="new">TIME column values must be between 00:00:00.0000000 and 23:59:59.9999999</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EditDataNullNotAllowed">
|
||||
<source>NULL is not allowed for this column</source>
|
||||
<target state="new">NULL is not allowed for this column</target>
|
||||
|
||||
Reference in New Issue
Block a user