What's the number scheme for 'colno' for Select call in PDO driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

In the implemetation of Pdo-driver (extension) , what's the Sequence/Index
scheme for parameter:  'colno'  ?

This param 'colno' is input in driver calls (of PDO statement) :

int SKEL_stmt_describe_col(pdo_stmt_t *stmt, int colno TSRMLS_DC)

int SKEL_stmt_get_col_data(pdo_stmt_t *stmt, int colno, ...)


e.g If the script has cmds:
Insert into Table test1(col1 int, col2 string, col3 real)
  SELECT  col2,col3 from test1;

The driver would which values for colno ?

-sanjeev

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux