Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "pg-mem", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "A memory version of postgres", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -509,2 +509,7 @@ import { IValue, _IIndex, _ISelection, _IType, TR } from './interfaces-private'; | ||
} | ||
if ('yes'.startsWith(str)) { | ||
return true; | ||
} else if ('no'.startsWith(str)) { | ||
return false; | ||
} | ||
throw new CastError(DataType.text, DataType.bool, 'string ' + rawStr); | ||
@@ -786,2 +791,4 @@ } | ||
return makeArray(fromNative(native.arrayOf)); | ||
case 'boolean': | ||
return Types.bool; | ||
default: | ||
@@ -788,0 +795,0 @@ throw new NotSupported('Type ' + JSON.stringify(native.type)); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1631765
22988