改进parseTime方法

This commit is contained in:
thinkphp
2018-04-13 16:32:33 +08:00
parent 9eb57bf3bc
commit 94384d1aba

View File

@@ -509,6 +509,11 @@ abstract class Builder
}
}
$bindName = $bindName ?: $key;
if ($this->query->isBind($bindName)) {
$bindName .= '_' . str_replace('.', '_', uniqid('', true));
}
$this->query->bind($bindName, $value, $bindType);
return ':' . $bindName;
}