略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SQLite3Result::columnName

2024-11-12

SQLite3Result::columnName

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

SQLite3Result::columnNameReturns the name of the nth column

说明

public SQLite3Result::columnName(int $column): string|false

Returns the name of the column specified by the column. Note that the name of a result column is the value of the AS clause for that column, if there is an AS clause. If there is no AS clause then the name of the column is unspecified and may change from one release of libsqlite3 to the next.

参数

column

The numeric zero-based index of the column.

返回值

Returns the string name of the column identified by column, or false if the column does not exist.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/sqlite3result.columnname.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3