1 | <?php |
||
29 | class SchemaInspector extends Client |
||
30 | { |
||
31 | use InspectorTrait; |
||
32 | |||
33 | /** |
||
34 | * getClientType |
||
35 | * |
||
36 | * @see ClientInterface |
||
37 | */ |
||
38 | public function getClientType() |
||
42 | |||
43 | /** |
||
44 | * getClientIdentifier |
||
45 | * |
||
46 | * @see ClientInterface |
||
47 | */ |
||
48 | public function getClientIdentifier() |
||
52 | |||
53 | /** |
||
54 | * getSchemas |
||
55 | * |
||
56 | * Return a list of available schemas in the current database. An |
||
57 | * additional criteria can be given to filter the results. |
||
58 | * Criterias can be a combination of: |
||
59 | * * n schema |
||
60 | * * d description |
||
61 | * * o owner |
||
62 | * |
||
63 | * If no criteria is provided, all schemas will be returned including |
||
64 | * system schemas (temporary schema, toast schemas etc.) |
||
65 | * |
||
66 | * @param Where $where |
||
67 | * @return ConvertedResultIterator |
||
68 | */ |
||
69 | public function getSchemas(Where $where = null) |
||
93 | |||
94 | /** |
||
95 | * getUserSchemas |
||
96 | * |
||
97 | * Return a list of user schema (not pg_* nor information_schema). |
||
98 | * |
||
99 | * @param Where $where |
||
100 | * @return ConvertedResultIterator |
||
101 | */ |
||
102 | public function getUserSchemas(Where $where = null) |
||
112 | } |
||
113 |