From c59e7916c06f60543dce4e35c36bad0caaa6f551 Mon Sep 17 00:00:00 2001 From: lsces Date: Fri, 6 Mar 2026 15:27:25 +0000 Subject: Now I know just where the column information has gone ... it is not being populated as yet, but this at least gets a lower case column name returned. --- .../Query/Processors/FirebirdProcessor.php | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/src/illuminate/Query/Processors/FirebirdProcessor.php b/src/illuminate/Query/Processors/FirebirdProcessor.php index 577ebf7..2649509 100644 --- a/src/illuminate/Query/Processors/FirebirdProcessor.php +++ b/src/illuminate/Query/Processors/FirebirdProcessor.php @@ -13,12 +13,21 @@ class FirebirdProcessor extends Processor * @param array $results * @return array */ - public function processColumnListing($results) - { - return array_map(function ($result) { - return ((object) $result)->column_name; - }, $results); - } + public function processColumns($results) + { + return array_map(function ($result) { + return (object) [ + 'name' => strtolower($result->name ), +// 'type_name' => strtolower($result['type_name'] ?? ''), +// 'type' => $this->getColumnType($result), +// 'collation' => $result['collation'] ?? null, +// 'nullable' => (bool) ($result['nullable'] ?? true), +// 'default' => $result['default'] ?? null, +// 'auto_increment' => (bool) ($result['auto_increment'] ?? false), +// 'comment' => $result['comment'] ?? null, + ]; + }, $results); + } /** * Process an "insert get ID" query. -- cgit v1.3