sources/lib/Inspector/RelationInspector.php 1 location
|
@@ 121-129 (lines=9) @@
|
118 |
|
* @param Where $where |
119 |
|
* @return ConvertedResultIterator |
120 |
|
*/ |
121 |
|
public function getDatabaseRelations(Where $where = null) |
122 |
|
{ |
123 |
|
$where = Where::create('n.nspname !~* $*', ['^pg_']) |
124 |
|
->andWhere('n.nspname != $*', ['information_schema']) |
125 |
|
->andWhere($where) |
126 |
|
; |
127 |
|
|
128 |
|
return $this->getRelations($where); |
129 |
|
} |
130 |
|
|
131 |
|
/** |
132 |
|
* getTableFieldInformationWhere |
sources/lib/Inspector/TypeInspector.php 1 location
|
@@ 109-117 (lines=9) @@
|
106 |
|
* @param Where $where |
107 |
|
* @return ConvertedResultIterator |
108 |
|
*/ |
109 |
|
public function getUserTypes(Where $where = null) |
110 |
|
{ |
111 |
|
$where = Where::create("ns.nspname !~ $*", ['^pg_']) |
112 |
|
->andWhere('ns.nspname != $*', ['information_schema']) |
113 |
|
->andWhere($where) |
114 |
|
; |
115 |
|
|
116 |
|
return $this->getTypes($where); |
117 |
|
} |
118 |
|
|
119 |
|
/** |
120 |
|
* getTypesInSchema |