Re: Re: PHP 5.1 roadmap

From: Date: Fri, 22 Oct 2004 09:42:32 +0000
Subject: Re: Re: PHP 5.1 roadmap
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-13447@lists.php.net to get a copy of this message
I added some stuff along these lines 3 weeks ago: http://viewcvs.php.net/viewcvs.cgi/pecl/pdo/pdo_stmt.c.diff?r1=1.47&r2=1.48 +/* {{{ proto int PDOStatement::columnCount() + Returns the number of columns in the result set */ +/* {{{ proto array PDOStatement::getColumnMeta(int $column) + Returns meta data for a numbered column */ The returned array contains the column name, len, precision etc. Needs documenting, and also needs driver support (I think only sqlite and mysql drivers work with this for now). --Wez. On Fri, 22 Oct 2004 11:37:23 +0200, Lukas Smith <lsmith@php.net> wrote: > How about some stuff along the lines of mysql_field_name() etc? > > Would be nice to have introspection into the structure/metadata of > resultsets.

« previous php.internals (#13447) next »