« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 28 for game (0.002 sec.)
指定したスキーマ情報を取得する 12322
« PDO_CUBRID DSN MS SQL Server PDO ドライバ » PHP Manual CUBRID PDO ドライバ 指定したスキーマ情報を取得する 検索 PDO::cubrid_schema (PECL PDO_CUBRID >= 8.3.0.0001) PDO::cubrid_schema — 指定したスキーマ情報を取得する 説明 public function PDO ... すると、スキーマ情報を含む配列を返します。 処理に失敗した場合は FALSE を返します。 例 例1 PDO::cubrid_schema() の例 これは、game テーブルの主キーと外部キーを取得する例です。 <?php $pk_list = $dbh -> cubrid_schema ( PDO :: CUBRID_SCH_PRIMARY_KEY , "gam ... e" ); print_r ( $pk_list ); $fk_list = $dbh -> cubrid_schema ( PDO :: CUBRID_SCH_IMPORTED_KEYS , "game" ); print_r ( $fk_list ); ?> 上の例の出力は以下となります。 Result: Array ( [0] => Array ( [CLASS_NAME] => game [ATTR_NAME ... ] => athlete_code [KEY_SEQ] => 3 [KEY_NAME] => pk_game_host_year_event_code_athlete_code ) [1] => Array ( [CLASS_NAME] => game [ATTR_NAME] => event_code [KEY_SEQ] => 2 [KEY_NAME ...
https://man.mtool.work/php/8.3/pdo.cubrid-schema.html
指定したスキーマ情報を取得する 12322
« PDO_CUBRID DSN MS SQL Server PDO ドライバ » PHP Manual CUBRID PDO ドライバ 指定したスキーマ情報を取得する 検索 PDO::cubrid_schema (PECL PDO_CUBRID >= 8.3.0.0001) PDO::cubrid_schema — 指定したスキーマ情報を取得する 説明 public function PDO ... すると、スキーマ情報を含む配列を返します。 処理に失敗した場合は FALSE を返します。 例 例1 PDO::cubrid_schema() の例 これは、game テーブルの主キーと外部キーを取得する例です。 <?php $pk_list = $dbh -> cubrid_schema ( PDO :: CUBRID_SCH_PRIMARY_KEY , "gam ... e" ); print_r ( $pk_list ); $fk_list = $dbh -> cubrid_schema ( PDO :: CUBRID_SCH_IMPORTED_KEYS , "game" ); print_r ( $fk_list ); ?> 上の例の出力は以下となります。 Result: Array ( [0] => Array ( [CLASS_NAME] => game [ATTR_NAME ... ] => athlete_code [KEY_SEQ] => 3 [KEY_NAME] => pk_game_host_year_event_code_athlete_code ) [1] => Array ( [CLASS_NAME] => game [ATTR_NAME] => event_code [KEY_SEQ] => 2 [KEY_NAME ...
https://man.mtool.work/php/8.3/pdo.cubrid-schema.html
Get the requested schema information 11421
« cubrid_rollback cubrid_seq_drop » PHP Manual CUBRID 関数 Get the requested schema information 検索 cubrid_schema (PECL CUBRID >= 8.3.0) cubrid_schema — Get the requested schema information 説明 function cubrid_schema ( resource $conn_iden ... 33000 , "demodb" , "dba" ); printf ( "\n--- Primary Key ---\n" ); $pk = cubrid_schema ( $conn , CUBRID_SCH_PRIMARY_KEY , "game" ); var_dump ( $pk ); printf ( "\n--- Foreign Keys ---\n" ); $fk = cubrid_schema ( $conn , CUBRID_SCH_IMPORTED_KEYS , "gam ... t ( $conn ); ?> 上の例の出力は以下となります。 --- Primary Key --- array(3) { [0]=> array(4) { ["CLASS_NAME"]=> string(4) "game" ["ATTR_NAME"]=> string(12) "athlete_code" ["KEY_SEQ"]=> string(1) "3" ["KEY_NAME"]=> string(41) "pk_game_host_year_event_ ... code_athlete_code" } [1]=> array(4) { ["CLASS_NAME"]=> string(4) "game" ["ATTR_NAME"]=> string(10) "event_code" ["KEY_SEQ"]=> string(1) "2" ["KEY_NAME"]=> string(41) "pk_game_host_year_event_co ...
https://man.mtool.work/php/8.3/function.cubrid-schema.html
Get the requested schema information 11421
« cubrid_rollback cubrid_seq_drop » PHP Manual CUBRID 関数 Get the requested schema information 検索 cubrid_schema (PECL CUBRID >= 8.3.0) cubrid_schema — Get the requested schema information 説明 function cubrid_schema ( resource $conn_iden ... 33000 , "demodb" , "dba" ); printf ( "\n--- Primary Key ---\n" ); $pk = cubrid_schema ( $conn , CUBRID_SCH_PRIMARY_KEY , "game" ); var_dump ( $pk ); printf ( "\n--- Foreign Keys ---\n" ); $fk = cubrid_schema ( $conn , CUBRID_SCH_IMPORTED_KEYS , "gam ... t ( $conn ); ?> 上の例の出力は以下となります。 --- Primary Key --- array(3) { [0]=> array(4) { ["CLASS_NAME"]=> string(4) "game" ["ATTR_NAME"]=> string(12) "athlete_code" ["KEY_SEQ"]=> string(1) "3" ["KEY_NAME"]=> string(41) "pk_game_host_year_event_ ... code_athlete_code" } [1]=> array(4) { ["CLASS_NAME"]=> string(4) "game" ["ATTR_NAME"]=> string(10) "event_code" ["KEY_SEQ"]=> string(1) "2" ["KEY_NAME"]=> string(41) "pk_game_host_year_event_co ...
https://man.mtool.work/php/8.3/function.cubrid-schema.html
Bind variables to a prepared statement as parameters 8996
« CUBRID 関数 cubrid_close_prepare » PHP Manual CUBRID 関数 Bind variables to a prepared statement as parameters 検索 cubrid_bind (PECL CUBRID >= 8.3.0) cubrid_bind — Bind variables to a prepared statement as parameters 説明 function cubrid ... ); $row = cubrid_fetch_array ( $result , CUBRID_ASSOC ); $event_code = $row [ "code" ]; cubrid_close_request ( $result ); $game_req = cubrid_prepare ( $conn , "SELECT athlete_code FROM game WHERE host_year=1992 and event_code=? and nation_code='USA'" ... ); cubrid_bind ( $game_req , 1 , $event_code , "number" ); cubrid_execute ( $game_req ); printf ( "--- Dream Team (1992 United States men's Olymp ... ic basketball team) ---\n" ); while ( $athlete_code = cubrid_fetch_array ( $game_req , CUBRID_NUM )) { $athlete_req = cubrid_prepare ( $conn , "SELECT name FROM athlete WHERE code=? AND nation_code='USA' ...
https://man.mtool.work/php/8.3/function.cubrid-bind.html
Bind variables to a prepared statement as parameters 8996
« CUBRID 関数 cubrid_close_prepare » PHP Manual CUBRID 関数 Bind variables to a prepared statement as parameters 検索 cubrid_bind (PECL CUBRID >= 8.3.0) cubrid_bind — Bind variables to a prepared statement as parameters 説明 function cubrid ... ); $row = cubrid_fetch_array ( $result , CUBRID_ASSOC ); $event_code = $row [ "code" ]; cubrid_close_request ( $result ); $game_req = cubrid_prepare ( $conn , "SELECT athlete_code FROM game WHERE host_year=1992 and event_code=? and nation_code='USA'" ... ); cubrid_bind ( $game_req , 1 , $event_code , "number" ); cubrid_execute ( $game_req ); printf ( "--- Dream Team (1992 United States men's Olymp ... ic basketball team) ---\n" ); while ( $athlete_code = cubrid_fetch_array ( $game_req , CUBRID_NUM )) { $athlete_req = cubrid_prepare ( $conn , "SELECT name FROM athlete WHERE code=? AND nation_code='USA' ...
https://man.mtool.work/php/8.3/function.cubrid-bind.html
Move the result set cursor to the specified field offset 8094
« cubrid_field_name cubrid_field_table » PHP Manual CUBRID MySQL 互換関数 Move the result set cursor to the specified field offset 検索 cubrid_field_seek (PECL CUBRID >= 8.3.0) cubrid_field_seek — Move the result set cursor to the specified ... id_connect ( "localhost" , 33000 , "demodb" ); $req = cubrid_execute ( $conn , "SELECT event_code,athlete_code,nation_code,game_date FROM game WHERE host_year=1988 and event_code=20001;" ); var_dump ( cubrid_fetch_row ( $req )); cubrid_field_seek ( $ ... string(5) "16132" [2]=> string(3) "KOR" [3]=> string(9) "1988-09-30" } --- Field Properties --- name: athlete_code table: game default value: "" max length: 0 not null: 1 unique key: 1 multiple key: 0 numeric: 1 type: integer 関連キーワード: field c ... ubrid offset printf result key seek req code set cursor specified name table string Move fetch conn game max ...
https://man.mtool.work/php/8.3/function.cubrid-field-seek.html
Move the result set cursor to the specified field offset 8094
« cubrid_field_name cubrid_field_table » PHP Manual CUBRID MySQL 互換関数 Move the result set cursor to the specified field offset 検索 cubrid_field_seek (PECL CUBRID >= 8.3.0) cubrid_field_seek — Move the result set cursor to the specified ... id_connect ( "localhost" , 33000 , "demodb" ); $req = cubrid_execute ( $conn , "SELECT event_code,athlete_code,nation_code,game_date FROM game WHERE host_year=1988 and event_code=20001;" ); var_dump ( cubrid_fetch_row ( $req )); cubrid_field_seek ( $ ... string(5) "16132" [2]=> string(3) "KOR" [3]=> string(9) "1988-09-30" } --- Field Properties --- name: athlete_code table: game default value: "" max length: 0 not null: 1 unique key: 1 multiple key: 0 numeric: 1 type: integer 関連キーワード: cubrid ... offset printf seek code cursor specified table Move fetch conn game length unique multiple numeric type success failure execute event athlete Properties default MySQL ...
https://man.mtool.work/php/8.3/function.cubrid-field-seek.html
Check whether the instance pointed by OID exists 7865
« cubrid_insert_id cubrid_lob_close » PHP Manual CUBRID 関数 Check whether the instance pointed by OID exists 検索 cubrid_is_instance (PECL CUBRID >= 8.3.0) cubrid_is_instance — Check whether the instance pointed by OID exists 説明 function ... instance() example <?php $conn = cubrid_connect ( "localhost" , 33000 , "demodb" ); $sql = <<<EOD SELECT host_year, medal, game_date FROM game WHERE athlete_code IN (SELECT code FROM athlete WHERE name='Thorpe Ian'); EOD; $req = cubrid_execute ( $con ... stance cubrid oid pointed exists conn whether Check identifier exist name res echo Instance close function check error sql game ...
https://man.mtool.work/php/8.3/function.cubrid-is-instance.html
Check whether the instance pointed by OID exists 7865
« cubrid_insert_id cubrid_lob_close » PHP Manual CUBRID 関数 Check whether the instance pointed by OID exists 検索 cubrid_is_instance (PECL CUBRID >= 8.3.0) cubrid_is_instance — Check whether the instance pointed by OID exists 説明 function ... instance() example <?php $conn = cubrid_connect ( "localhost" , 33000 , "demodb" ); $sql = <<<EOD SELECT host_year, medal, game_date FROM game WHERE athlete_code IN (SELECT code FROM athlete WHERE name='Thorpe Ian'); EOD; $req = cubrid_execute ( $con ... the class name using OID 関連キーワード: instance cubrid pointed exists conn whether Check identifier exist Instance check game athlete code else doesn using insert resource used given Connection want to existence case ...
https://man.mtool.work/php/8.3/function.cubrid-is-instance.html
PREV 1 2 3 NEXT