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 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 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 sqlsrv 函数 executes a statement prepared with sqlsrv preparephp mysql xdevapi collectionremove bind value to placeholderphp mysql xdevapi session execute an sql 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 parametersphp mysql xdevapi mysql xdevapi 函数php sqlite3stmt returns the number of parameters within the prepared statement
关注编程学问公众号