« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 550 for execute (0.003 sec.)
cubrid_execute — Execute a prepared SQL statement | PHP 8.3 7423
cubrid_execute (PECL CUBRID >= 8.3.0) cubrid_execute — Execute a prepared SQL statement 説明 function cubrid_execute ( resource $conn_identifier , string $sql , int $option = 0 ): resource function cubrid_execute ( resource $request_identif ... ier , int $option = 0 ): bool The cubrid_execute() function is used to execute the given SQL statement. It executes the query by using conn_identifier and SQL, and then re ... fier created. It is used for simple execution of query, where the parameter binding is not needed. In addition, the cubrid_execute() function is used to execute the prepared statement by means of cubrid_prepare() and cubrid_bind() . At this time, you ne ... of request_identifier and option . The option is used to determine whether to get OID after query execution and whether to execute the query in synchronous or asynchronous mode. CUBRID_INCLUDE_OID and CUBRID_ASYNC (or CUBRID_EXEC_QUERY_ALL if you want t ...
https://man.mtool.work/php/8.3/function.cubrid-execute.html
TableInsert::execute — insert クエリを実行する | PHP 8.3 6909
TableInsert::execute (No version information available, might only be in Git) TableInsert::execute — insert クエリを実行する 説明 public function mysql_xdevapi\TableInsert::execute (): mysql_xdevapi\Result insert 文を実行します。 パラメータ ... この関数にはパラメータはありません。 戻り値 Result オブジェクトを返します。 例 例1 mysql_xdevapi\TableInsert::execute() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( "DROP DATABASE ... IF EXISTS addressbook" )-> execute (); $session -> sql ( "CREATE DATABASE addressbook" )-> execute (); $session -> sql ( "CREATE TABLE addressbook.names(name ... text, age int)" )-> execute (); $session -> sql ( "INSERT INTO addressbook.names values ('John', 42), ('Sam', 33)" )-> execute (); $schema = $session ...
https://man.mtool.work/php/8.3/mysql-xdevapi-tableinsert.execute.html
TableDelete::execute — delete文を実行する | PHP 8.3 6840
TableDelete::execute (No version information available, might only be in Git) TableDelete::execute — delete文を実行する 説明 public function mysql_xdevapi\TableDelete::execute (): mysql_xdevapi\Result delete文を実行します。 パラメータ この関 ... 数にはパラメータはありません。 戻り値 Result オブジェクトを返します。 例 例1 mysql_xdevapi\TableDelete::execute() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( "DROP DATABASE ... IF EXISTS addressbook" )-> execute (); $session -> sql ( "CREATE DATABASE addressbook" )-> execute (); $session -> sql ( "CREATE TABLE addressbook.names(name ... text, age int)" )-> execute (); $session -> sql ( "INSERT INTO addressbook.names values ('John', 42), ('Sam', 33)" )-> execute (); $schema = $session ...
https://man.mtool.work/php/8.3/mysql-xdevapi-tabledelete.execute.html
sqlsrv_execute — Executes a statement prepared with sqlsrv_prepare() | PHP 8.3 6733
sqlsrv_execute (No version information available, might only be in Git) sqlsrv_execute — Executes a statement prepared with sqlsrv_prepare() 説明 function sqlsrv_execute ( resource $stmt ): bool Executes a statement prepared with sqlsrv_pre ... ent resource returned by sqlsrv_prepare() . 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 sqlsrv_execute() example This example demonstrates how to prepare a statement with sqlsrv_prepare() and re-execute it multiple times (wit ... h different parameter values) using sqlsrv_execute() . <?php $serverName = "serverName\sqlexpress" ; $connectionInfo = array( "Database" => "dbName" , "UID" => "username" , ... // This array maps the order ID to order quantity in key=>value pairs. $orders = array( 1 => 10 , 2 => 20 , 3 => 30 ); // Execute the statement for each order. foreach( $orders as $id => $qty ) { // Because $id and $qty are bound to $stmt1, their updat ...
https://man.mtool.work/php/8.3/function.sqlsrv-execute.html
CollectionAdd::execute — ステートメントを実行する | PHP 8.3 6472
CollectionAdd::execute (No version information available, might only be in Git) CollectionAdd::execute — ステートメントを実行する 説明 public function mysql_xdevapi\CollectionAdd::execute (): mysql_xdevapi\Result CRUD操作のリクエストを MySQ ... L サーバーに送信するために execute メソッドは必須です。 パラメータ この関数にはパラメータはありません。 戻り値 影響を受けた行数のような、操作の状態を確認する ... のに使われる Result オブジェクトを返します。 例 例1 mysql_xdevapi\CollectionAdd::execute() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( "DROP DATABASE ... IF EXISTS addressbook" )-> execute (); $session -> sql ( "CREATE DATABASE addressbook" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $cr ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collectionadd.execute.html
oci_execute — 文を実行する | PHP 8.3 6257
oci_execute (PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0) oci_execute — 文を実行する 説明 function oci_execute ( resource $statement , int $mode = OCI_COMMIT_ON_SUCCESS ): bool oci_parse() が返した statement を実行します。 実行後、 INSERT 文など ... ために、多くのスクリプトはクエリや PL/SQL で OCI_NO_AUTO_COMMIT モードを使いません。 同じスクリプトの中で異なるモードで oci_execute() を実行する場合は、 アプリケーション内で適切なトランザクションの一貫性を確保するよう注意しましょう。 戻り値 成功した場合に ... true を、失敗した場合に false を返します。 例 例1 oci_execute() での問い合わせの例 <?php $conn = oci_connect ( 'hr' , 'welcome' , 'localhost/XE' ); $stid = oci_parse ( $conn , 'SELECT ... * FROM employees' ); oci_execute ( $stid ); echo "<table border='1'>\n" ; while ( $row = oci_fetch_array ( $stid , OCI_ASSOC + OCI_RETURN_NULLS )) { echo " ...
https://man.mtool.work/php/8.3/function.oci-execute.html
mysqli::execute_query — SQL文を準備し、変数をバインドし、実行する | PHP 8.3 5859
mysqli::execute_query mysqli_execute_query (PHP 8 >= 8.2.0) mysqli::execute_query -- mysqli_execute_query — SQL文を準備し、変数をバインドし、実行する 説明 オブジェクト指向型 public function mysqli::execute_query ( string $query , ? array $p ... arams = null ): mysqli_result | bool 手続き型 function mysqli_execute_query ( mysqli $mysql , string $query , ? array $params = null ): mysqli_result | bool SQL文を準備し、変数をバインドし、実 ... 行します。 mysqli::execute_query() メソッドは mysqli::prepare() , mysqli_stmt::bind_param() , mysqli_stmt::execute() , mysqli_stmt::get_result() のシ ... li_error() のようなメソッドを通じてアクセスできます。 注意 : サーバーの max_allowed_packet より長いステートメントを mysqli_execute_query() に渡した場合、 返ってくるエラーコードはオペレーティングシステムによって異なります。 それぞれ、次のように振る舞いま ...
https://man.mtool.work/php/8.3/mysqli.execute-query.html
cubrid_affected_rows — Return the number of rows affected by the last SQL state... 5782
cubrid_affected_rows (PECL CUBRID >= 8.3.0) cubrid_affected_rows — Return the number of rows affected by the last SQL statement 説明 function cubrid_affected_rows ( resource $conn_identifier = ? ): int function cubrid_affected_rows ( resour ... y cubrid_connect() is assumed. req_identifier Request Identifier, could be returned from either cubrid_prepare() or cubrid_execute() . If the request identifier is not specified, the last identifier requested by cubrid_prepare() or cubrid_execute() is a ... 例 例1 cubrid_affected_rows() example <?php $conn = cubrid_connect ( 'localhost' , 33000 , 'demodb' , 'dba' , '' ); cubrid_execute ( $conn , "DROP TABLE IF EXISTS cubrid_test" ); cubrid_execute ( $conn , "CREATE TABLE cubrid_test (d varchar)" ); $sql_st ... cubrid_test(d) VALUES('php-test')" ; $req = cubrid_prepare ( $conn , $sql_stmt ); for ( $i = 0 ; $i < 10 ; $i ++) { cubrid_execute ( $req ); } cubrid_commit ( $conn ); $req = cubrid_execute ( $conn , "DELETE FROM cubrid_test WHERE d='php-test'" , CUBRID ...
https://man.mtool.work/php/8.3/function.cubrid-affected-rows.html
PHP および DTrace の使用 | PHP 8.3 5751
PHP および DTrace の使用 DTrace 動的トレーシングをサポートするプラットフォームでは、 DTrace 静的プローブ付きで PHP を構成できます。 DTrace 静的プローブのために PHP を構成 OS の DTrace サポートを有効にするには、 プラットフォーム固有の外部のド ... ated compile-file-return スクリプトのコンパイル終了時に発射されます。 char * compile_file , char * compile_file_translated execute-entry op コードの配列が実行される際に発射されます。 例えば、関数の呼び出し、インクルードおよびジェネレータ続行時に発射され ... ます。 char * request_file , int lineno execute-return op コードの配列の実行後に発射されます。 char * request_file , int lineno function-entry PHP エンジンが、PHP の関数ま ... SPEC_CONST_CV_HANDLER exception-caught 8 php15271 php zend_throw_exception_internal exception-thrown 9 php15271 php dtrace_execute_ex execute-entry 10 php15271 php dtrace_execute_internal execute-entry 11 php15271 php dtrace_execute_ex execute-return 12 ...
https://man.mtool.work/php/8.3/features.dtrace.dtrace.html
CollectionRemove::__construct — CollectionRemove のコンストラクタ | PHP 8.3 5713
CollectionRemove::__construct (No version information available, might only be in Git) CollectionRemove::__construct — CollectionRemove のコンストラクタ 説明 private function mysql_xdevapi\CollectionRemove::__construct () コレクションのドキ ... sql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( "DROP DATABASE IF EXISTS addressbook" )-> execute (); $session -> sql ( "CREATE DATABASE addressbook" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $co ... tion = $schema -> createCollection ( "people" ); $collection -> add ( '{"name": "Alfred", "age": 18, "job": "Butler"}' )-> execute (); $collection -> add ( '{"name": "Bob", "age": 19, "job": "Painter"}' )-> execute (); // すべての Painter を削除する $co ... llection -> remove ( "job in ('Painter')" ) -> execute (); // もっとも古い Butler を削除する $collection -> remove ( "job in ('Butler')" ) -> sort ( 'age desc' ) -> limit ( 1 ) ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collectionremove.construct.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT