add Bool and Time to DB::Any fixes #4 closes #24

This commit is contained in:
Brian J. Cardiff 2016-12-14 15:17:40 -03:00
parent ddd04da915
commit 4e238f655f
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ module DB
# Types supported to interface with database driver.
# These can be used in any `ResultSet#read` or any `Database#query` related
# method to be used as query parameters
TYPES = [Nil, String, Int32, Int64, Float32, Float64, Bytes]
TYPES = [Nil, String, Bool, Int32, Int64, Float32, Float64, Time, Bytes]
# See `DB::TYPES` in `DB`. `Any` is a union of all types in `DB::TYPES`
{% begin %}