PHP: PDOStatement->setAttribute() - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

PDOStatement->setFetchMode() PDOStatement->rowCount()

Last updated: Fri, 26 Jan 2007

view this page in

# PDOStatement->setAttribute()

(no version information, might be only in CVS)

PDOStatement->setAttribute() -- Set a statement attribute

## Описание

class PDOStatement {
bool setAttribute ( int attribute, mixed value )
}

Sets an attribute on the statement. Currently, no generic attributes are set but only driver specific:

- `PDO::ATTR_CURSOR_NAME` (Firebird and ODBC specific): Set the name of cursor for `UPDATE ... WHERE CURRENT OF`.

## Возвращаемые значения

Возвращает `TRUE` в случае успешного завершения или `FALSE` в случае возникновения ошибки.

## Смотрите также

PDO->getAttribute()
PDO->setAttribute()
PDOStatement->getAttribute()

add a note User Contributed Notes
PDOStatement->setAttribute()
There are no user contributed notes for this page.
PDOStatement->setFetchMode() PDOStatement->rowCount()

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST