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