correctly detect undefined for input strings during copy (#906)

This commit is contained in:
Anthony Dresser
2018-03-16 19:52:49 -07:00
committed by GitHub
parent 40550d0840
commit 2f854cce4a

View File

@@ -483,7 +483,7 @@ export default class QueryRunner {
// Windows(CRLF): \r\n
// Linux(LF)/Modern MacOS: \n
// Old MacOs: \r
if (!inputString) {
if (types.isUndefinedOrNull(inputString)) {
return 'null';
}