You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/QueryFactory/QueryFactory.php
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,20 @@ public function getMagicSql() : string;
31
31
publicfunctiongetMagicSqlCount() : string;
32
32
33
33
/**
34
-
* @return mixed[][] An array of column descriptors. The key is in the form "$tableName____$columnName". Value is an array with those keys: as, table, colum, type, tableGroup
34
+
* Returns a sub-query to be used in another query.
35
+
* A sub-query is similar to a query except it returns only the primary keys of the table (to be used as filters)
36
+
*
37
+
* @return string
38
+
*/
39
+
publicfunctiongetMagicSqlSubQuery() : string;
40
+
41
+
/**
42
+
* @return mixed[][] An array of column descriptors. The key is in the form "$tableName____$columnName". Value is an array with those keys: as, table, column, type, tableGroup
35
43
*/
36
44
publicfunctiongetColumnDescriptors() : array;
45
+
46
+
/**
47
+
* @return string[][] An array of column descriptors. Value is an array with those keys: table, column
0 commit comments