Results of 1 - 10 of about 620 for Query (0.006 sec.)
- cubrid_query — Send a CUBRID query | PHP 8.3 6808
- cubrid_query (PECL CUBRID >= 8.3.1) cubrid_query — Send a CUBRID query 説明 function cubrid_query ( string $query , resource $conn_identifier = ? ): resource cubrid_query() sends a unique query (multiple queries are not supported) to the cu
... rrently active database on the server that's associated with the specified conn_identifier . パラメータ query An SQL query Data inside the query should be properly escaped . conn_identifier The CUBRID connection. If the connection i ... y cubrid_connect() is assumed. 戻り値 For SELECT, SHOW, DESCRIBE, EXPLAIN and other statements returning resultset, cubrid_query() returns a resource on success, or false on error. For other type of SQL statements, INSERT, UPDATE, DELETE, DROP, etc, c ... ubrid_query() returns true on success or false on error. The returned result resource should be passed to cubrid_fetch_array() , and o ...
-
https://man.mtool.work/php/8.3/function.cubrid-query.html
- 例 | PHP 8.3 6492
- 例 PHP で Apache Solr 拡張モジュールを使用する方法の例 例1 ブートストラップ・ファイルの内容 <?php /* Solr サーバーのドメイン名 */ define ( 'SOLR_SERVER_HOSTNAME' , 'solr.example.com' ); /* セキュアなモードで動作するかどうか */ define ( 'SOL
... ER_USERNAME , 'password' => SOLR_SERVER_PASSWORD , 'port' => SOLR_SERVER_PORT , ); $client = new SolrClient ( $options ); $query = new SolrQuery (); $query -> setQuery ( 'lucene' ); $query -> setStart ( 0 ); $query -> setRows ( 50 ); $query -> addFiel ... d ( 'cat' )-> addField ( 'features' )-> addField ( 'id' )-> addField ( 'timestamp' ); $query_response = $client -> query ( $query ); $response = $query_response -> getResponse (); print_r ( $response ); ?> 上の例の出 ... ER_USERNAME , 'password' => SOLR_SERVER_PASSWORD , 'port' => SOLR_SERVER_PORT , ); $client = new SolrClient ( $options ); $query = new SolrQuery (); $query -> setQuery ( 'lucene' ); $query -> setStart ( 0 ); $query -> setRows ( 50 ); $query -> addFiel ...
-
https://man.mtool.work/php/8.3/solr.examples.html
- cubrid_get_query_timeout — Get the query timeout value of the request | PHP 8.3 6272
- cubrid_get_query_timeout (PECL CUBRID >= 8.4.1) cubrid_get_query_timeout — Get the query timeout value of the request 説明 function cubrid_get_query_timeout ( resource $req_identifier ): int The cubrid_get_query_timeout() function is used t
... o get the query timeout of the request. パラメータ req_identifier Request identifier. 戻り値 Returns the query timeout value in millisecon ... ds of the current request on success,失敗した場合に false を返します. 例 例1 cubrid_get_query_timeout() example <?php $host = "localhost" ; $port = 33000 ; $db = "demodb" ; $conn = cubrid_connect_with_url ( "CUBRID: ... $host : $port : $db :::?login_timeout=50000&query_timeout=5000&disconnect_on_query_timeout=yes" ); $req = cubrid_prepare ( $conn , "SELECT * FROM code" ); $timeout = cubrid ...
-
https://man.mtool.work/php/8.3/function.cubrid-get-query-timeout.html
- SolrClient::query — Sends a query to the server | PHP 8.3 6272
- SolrClient::query (PECL solr >= 0.9.2) SolrClient::query — Sends a query to the server 説明 public function SolrClient::query ( SolrParams $query ): SolrQueryResponse Sends a query to the server. パラメータ query A SolrParams object. It is
... recommended to use SolrQuery for advanced queries. 戻り値 Returns a SolrQueryResponse object on success and throws an exception on failure. エラー / 例 ... lient had failed, or there was a connection issue. Throws SolrServerException if the Solr Server had failed to satisfy the query. 例 例1 SolrClient::query() example <?php $options = array ( 'hostname' => 'localhost' , 'login' => 'username' , 'password ... ' => 'password' , 'port' => '8983' , ); $client = new SolrClient ( $options ); $query = new SolrQuery (); $query -> setQuery ( 'lucene' ); $query -> setStart ( 0 ); $query -> setRows ( 50 ); $query -> addFiel ...
-
https://man.mtool.work/php/8.3/solrclient.query.html
- cubrid_unbuffered_query — Perform a query without fetching the results into mem... 6243
- cubrid_unbuffered_query (PECL CUBRID >= 8.3.0) cubrid_unbuffered_query — Perform a query without fetching the results into memory 説明 function cubrid_unbuffered_query ( string $query , resource $conn_identifier = ? ): resource This functio
... n performs a query without waiting for that all query results have been complete. It will return when the results are being generated. パラメ ... ータ query A SQL query. conn_identifier The CUBRID connection. If the connection identifier is not specified, the last connection ope ... her type of SQL statements, UPDATE, DELETE, DROP, etc, returns true on success. false on failure. 例 例1 cubrid_unbuffered_query() example <?php $link = cubrid_connect ( "localhost" , 30000 , "demodb" , "dba" , "" ); if (! $link ) { die( 'Could not co ...
-
https://man.mtool.work/php/8.3/function.cubrid-unbuffered-query.html
- MongoDB\Driver\Manager::executeQuery — Execute a database query | PHP 8.3 6221
- MongoDB\Driver\Manager::executeQuery (mongodb >=1.0.0) MongoDB\Driver\Manager::executeQuery — Execute a database query 説明 final public function MongoDB\Driver\Manager::executeQuery ( string $namespace , MongoDB\Driver\Query $query , ? arr
... ay $options = null ): MongoDB\Driver\Cursor Selects a server according to the "readPreference" option and executes the query on that server. Default values for the "readPreference" option and Query's "readConcern" option will be inferred from an a ... by the connection URI . パラメータ namespace ( string ) A fully qualified namespace (e.g. "databaseName.collectionName" ). query ( MongoDB\Driver\Query ) The query to execute. options options Option Type Description readPreference MongoDB\Driver\ReadP ... tion if authentication is needed and fails. Throws MongoDB\Driver\Exception\RuntimeException on other errors (e.g. invalid query operators). 変更履歴 バージョン 説明 PECL mongodb 2.0.0 The options parameter no longer accepts a MongoDB\Driver\ReadPrefe ...
-
https://man.mtool.work/php/8.3/mongodb-driver-manager.executequery.html
- ストアドプロシージャ | PHP 8.3 6221
- ストアドプロシージャ MySQL データベースは、ストアドプロシージャをサポートしています。 ストアドプロシージャは、 データベースカタログに保存されたサブルーチンです。 アプリケーションは、ストアドプロシージャを呼び出し、実行できます。 ストアドプロ
... PORT_ERROR | MYSQLI_REPORT_STRICT ); $mysqli = new mysqli ( "example.com" , "user" , "password" , "database" ); $mysqli -> query ( "DROP TABLE IF EXISTS test" ); $mysqli -> query ( "CREATE TABLE test(id INT)" ); $mysqli -> query ( "DROP PROCEDURE IF E ... XISTS p" ); $mysqli -> query ( "CREATE PROCEDURE p(IN id_val INT) BEGIN INSERT INTO test(id) VALUES(id_val); END;" ); $mysqli -> query ( "CALL p(1)" ); ... $result = $mysqli -> query ( "SELECT id FROM test" ); var_dump ( $result -> fetch_assoc ()); 上の例の出力は以下となります。 array(1) { ["id"]=> strin ...
-
https://man.mtool.work/php/8.3/mysqli.quickstart.stored-procedures.html
- ステートメントの実行 | PHP 8.3 6074
- ステートメントの実行 ステートメントは、 mysqli::query() , mysqli::real_query() , mysqli::multi_query() を使って実行できます。 mysqli::query() がもっともよく使われますが、 ステートメントの実行と、 バッファリングされた結果セットの取得を一回の
... 呼び出しで組み合わせることもできます。 mysqli::query() の呼び出しは、 mysqli::real_query() の後に mysqli::store_result() を呼び出すことと同じです。 例1 クエリを実行する <?php ... PORT_ERROR | MYSQLI_REPORT_STRICT ); $mysqli = new mysqli ( "example.com" , "user" , "password" , "database" ); $mysqli -> query ( "DROP TABLE IF EXISTS test" ); $mysqli -> query ( "CREATE TABLE test(id INT)" ); バッファリングされた結果セット ステート ... クライアントが結果セットを処理する速度は遅いです。 そのため、バッファリングされた結果セットを使うことを推奨します。 mysqli::query() は、ステートメントの実行と結果セットのバッファリングを組み合わせます。 PHP アプリケーションは、 バッファリングされた結果 ...
-
https://man.mtool.work/php/8.3/mysqli.quickstart.statements.html
- mysql_query — MySQL クエリを送信する | PHP 8.3 6052
- mysql_query (PHP 4, PHP 5) mysql_query — MySQL クエリを送信する 警告 この拡張モジュールは PHP 5.5.0 で非推奨になり、PHP 7.0.0 で削除されました。 MySQLi あるいは PDO_MySQL を使うべきです。詳細な情報は MySQL: API の選択 を参照ください。 この関
... 数の代替として、これらが使えます。 mysqli_query() PDO::query() 説明 function mysql_query ( string $query , resource $link_identifier = NULL ): mixed mysql_query() は、 ひ ... 信はサポートしません)。 送信先は、 link_identifier で指定したサーバー上にある、現在アクティブなデータベースです。 パラメータ query SQL クエリ。 クエリ文字列は、セミコロンで終えてはいけません。 クエリ内のデータは 適切にエスケープ する必要があります。 lin ... E_WARNING レベルのエラーが生成されます。 戻り値 SELECT, SHOW, DESCRIBE や EXPLAIN 文、その他結果セットを返す文では、 mysql_query() は成功した場合に resource を返します。エラー時には false を返します。 それ以外の SQL 文 INSERT, UPDATE, DELETE, DROP など ...
-
https://man.mtool.work/php/8.3/function.mysql-query.html
- mysqli::query — データベース上でクエリを実行する | PHP 8.3 6052
- mysqli::query mysqli_query (PHP 5, PHP 7, PHP 8) mysqli::query -- mysqli_query — データベース上でクエリを実行する 説明 オブジェクト指向型 public function mysqli::query ( string $query , int $result_mode = MYSQLI_STORE_RESULT ): mysqli_resul
... t | bool 手続き型 function mysqli_query ( mysqli $mysql , string $query , int $result_mode = MYSQLI_STORE_RESULT ): mysqli_result | bool データベースに対してクエリ ... query を実行します。 警告 セキュリティ上の注意: SQLインジェクション クエリに入力値を含める場合は、 プリペアドステートメント を使 ... 使ってエスケープしなければいけません。 DML (INSERT、UPDATE あるいは DELETE) 以外のクエリについては、 この関数は mysqli_real_query() に続けて mysqli_use_result() あるいは mysqli_store_result() をコールすることと同等です。 注意 : サーバーの max_allowed_p ...
-
https://man.mtool.work/php/8.3/mysqli.query.html