PHP » GoLang |
login |
register |
about
|
GoLang cubrid_affected_rows
request it (383)
GoLang replacement for PHP's cubrid_affected_rows
[edit | history]
cubrid_affected_rows(PECL CUBRID >= 8.3.0) cubrid_affected_rows — Return the number of rows affected by the last SQL statement Description
int cubrid_affected_rows
([ resource
$conn_identifier
] )
int cubrid_affected_rows
([ resource
$req_identifier
] )The cubrid_affected_rows() function is used to get the number of rows affected by the SQL statement (INSERT, DELETE, UPDATE). Parameters
Return ValuesNumber of rows affected by the SQL statement, when process is successful. -1, when SQL statement is not INSERT, DELETE or UPDATE.
ExamplesExample #1 cubrid_affected_rows() example
<?php The above example will output: Rows deleted: 5 |
more
Recently updated
more
Most requested
more
Last requests
|