Codable support
We've changed row decoder to Swift.Decodable
from QueryRowResultType
. #69
And accepts Encodable
type as query parameters.
Added:
- Querying with
QueryParameterOption
(actuallyTimeZone
option) - Custom data based type(like JSON, Protobuf) in blob/json column for decoding and encoding
- Use
QueryRowResultCustomData
,QueryCustomDataParameter
(see this tests.)
- Use
Removed:
QueryRowResultType
, UseDecodable
type insteadSQLEnumType
, UseQueryRawRepresentableParameter
or make conforming your enum toEncodable
QueryParameterDictionaryType
, UseEncodable
type instead
Renamed:
QueryDictionary
->QueryParameterDictionary
QueryArray
->QueryParameterArray
(Thanks @florianreinhart, @patrick-zippenfenig )