File tree Expand file tree Collapse file tree 1 file changed +0
-37
lines changed Expand file tree Collapse file tree 1 file changed +0
-37
lines changed Original file line number Diff line number Diff line change @@ -1674,43 +1674,6 @@ public function getTenantQuery(
16741674 return "{$ condition } ( {$ alias }{$ dot }_tenant IN ( {$ bindings }) {$ orIsNull }) " ;
16751675 }
16761676
1677- /**
1678- * Get the SQL projection given the selected attributes
1679- *
1680- * @param array<Query> $selects
1681- * @return string
1682- * @throws Exception
1683- */
1684- protected function addHiddenAttribute (array $ selects ): string
1685- {
1686- $ hash = [Query::DEFAULT_ALIAS => true ];
1687-
1688- foreach ($ selects as $ select ) {
1689- $ alias = $ select ->getAlias ();
1690- if (!isset ($ hash [$ alias ])){
1691- $ hash [$ alias ] = true ;
1692- }
1693- }
1694-
1695- $ hash = array_keys ($ hash );
1696-
1697- $ strings = [];
1698-
1699- foreach ($ hash as $ alias ) {
1700- $ strings [] = $ alias .'._uid as ' .$ this ->quote ($ alias .'::$id ' );
1701- $ strings [] = $ alias .'._id as ' .$ this ->quote ($ alias .'::$internalId ' );
1702- $ strings [] = $ alias .'._permissions as ' .$ this ->quote ($ alias .'::$permissions ' );
1703- $ strings [] = $ alias .'._createdAt as ' .$ this ->quote ($ alias .'::$createdAt ' );
1704- $ strings [] = $ alias .'._updatedAt as ' .$ this ->quote ($ alias .'::$updatedAt ' );
1705-
1706- if ($ this ->sharedTables ) {
1707- $ strings [] = $ alias .'._tenant as ' .$ this ->quote ($ alias .'::$tenant ' );
1708- }
1709- }
1710-
1711- return ', ' .implode (', ' , $ strings );
1712- }
1713-
17141677 /**
17151678 * Get the SQL projection given the selected attributes
17161679 *
You can’t perform that action at this time.
0 commit comments