Skip to content

::getColumnMeta() for JSON-column in MySQL #20122

@lon9man

Description

@lon9man

Description

The following code:

<?php $metadata = $pdoStatement->getColumnMeta($i);

Resulted in this output:

Image

But I expected this output instead:

expect to see something possible to use inside PHP (native_type or something else).

6 years old bug here: https://bugs.php.net/bug.php?id=78596

how about fix?

PHP Version

PHP 8.0.30 (cli) (built: Nov 21 2023 16:17:51) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.30, Copyright (c) Zend Technologies with Zend OPcache v8.0.30, Copyright (c), by Zend Technologies with Xdebug v3.2.2, Copyright (c) 2002-2023, by Derick Rethans 

Operating System

Debian GNU/Linux 11 (bullseye)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions