@@ -49,7 +49,7 @@ public function classifyException(Nette\Database\DriverException $e): ?string
4949 /********************* SQL ****************d*g**/
5050
5151
52- public function delimite (string $ name ): string
52+ public function delimit (string $ name ): string
5353 {
5454 // @see http://www.postgresql.org/docs/8.2/static/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS
5555 return '" ' . str_replace ('" ' , '"" ' , $ name ) . '" ' ;
@@ -156,7 +156,7 @@ public function getColumns(string $table): array
156156 AND NOT a.attisdropped
157157 ORDER BY
158158 a.attnum
159- X, [$ this ->delimiteFQN ($ table )]);
159+ X, [$ this ->delimitFQN ($ table )]);
160160
161161 while ($ row = $ rows ->fetch ()) {
162162 $ column = $ row ;
@@ -187,7 +187,7 @@ public function getIndexes(string $table): array
187187 WHERE
188188 c1.relkind IN ('r', 'p')
189189 AND c1.oid = ?::regclass
190- X, [$ this ->delimiteFQN ($ table )]);
190+ X, [$ this ->delimitFQN ($ table )]);
191191
192192 while ($ row = $ rows ->fetch ()) {
193193 $ id = $ row ['name ' ];
@@ -222,7 +222,7 @@ public function getForeignKeys(string $table): array
222222 co.contype = 'f'
223223 AND cl.oid = ?::regclass
224224 AND nf.nspname = ANY (pg_catalog.current_schemas(FALSE))
225- X, [$ this ->delimiteFQN ($ table )]);
225+ X, [$ this ->delimitFQN ($ table )]);
226226
227227 while ($ row = $ rows ->fetch ()) {
228228 $ id = $ row ['name ' ];
@@ -247,8 +247,8 @@ public function convertToPhp(mixed $value, array $meta, TypeConverter $converter
247247 /**
248248 * Converts: schema.name => "schema"."name"
249249 */
250- private function delimiteFQN (string $ name ): string
250+ private function delimitFQN (string $ name ): string
251251 {
252- return implode ('. ' , array_map ([$ this , 'delimite ' ], explode ('. ' , $ name )));
252+ return implode ('. ' , array_map ([$ this , 'delimit ' ], explode ('. ' , $ name )));
253253 }
254254}
0 commit comments