- Fixed some mssql caused bugs within Insert and Create into querybuilding

- Added some methods to EntityCollection
This commit is contained in:
mcndave committed 2020-12-07 17:26:51 +00:00
1 parent f74d1907d9
commit 65de1dd849
2 files changed
+95 -79

No files matched your search

+4 -4
View File
@@ -64,11 +64,11 @@ class QueryBuilder
{
if ( null === $this->getFragment(Query\Insert::class) ) {
if ( $schema ) {
$table = "\"$schema\".$table";
$table = "$schema.$table";
}
if ( $database ) {
$table = "\"$database\".$table";
$table = "$database.$table";
}
$insert = new Query\Insert();
@@ -327,11 +327,11 @@ class QueryBuilder
{
if ( null === $this->getFragment(Query\Create::class) ) {
if ( $schema ) {
$table = "\"$schema\".$table";
$table = "$schema.$table";
}
if ( $database ) {
$table = "\"$database\".$table";
$table = "$database.$table";
}
$create = new Query\Create();