expression

(No version information available, might only be in Git)

expressionBind prepared statement variables as parameters

说明

mysql_xdevapi\expression ( string $expression ) : object

Warning

本函数还未编写文档,仅有参数列表。

参数

expression

返回值

范例

Example #1 mysql_xdevapi\Expression() example

<?php
$expression 
mysql_xdevapi\Expression("[age,job]");

$res  $coll->find("age > 30")->fields($expression)->limit(3)->execute();
$data $res->fetchAll();

print_r($data);
?>

以上例程的输出类似于:

<?php
相关文章
php cubrid 函数 bind variables to a prepared statement as parametersphp cubrid 函数 bind a lob object or a string as a lob object to a prepared statement as parametersphp informix 函数 execute a previously prepared sql statementphp maxdb 函数 binds variables to a prepared statement as parametersphp maxdb 函数 binds variables to a prepared statement for result storagephp maxdb 函数 fetch results from a prepared statement into the bound variablesphp maxdb 函数 resets a prepared statementphp maxdb 函数 returns result set metadata from a prepared statementphp mysql xdevapi 函数 bind prepared statement variables as parametersphp postgresql 函数 sends a request to execute a prepared statement with given parameters and waits for the resultphp postgresql 函数 submits a request to create a prepared statement with the given parameters and waits for completionphp postgresql 函数 sends a request to execute a prepared statement with given parameters without waiting for the result s php postgresql 函数 sends a request to create a prepared statement with the given parameters without waiting for completionphp mysql xdevapi collectionfind bind value to query placeholderphp mysql xdevapi collectionfind execute the statementphp mysql xdevapi sqlstatement bind statement parametersphp mysql xdevapi tabledelete bind delete query parametersphp mysql xdevapi tableselect bind select query parametersphp mysql xdevapi tableupdate bind update query parametersphp mysqli stmt binds variables to a prepared statement as parameters
关注编程学问公众号