« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 227 for schema (0.001 sec.)
Schema クラス | PHP 8.3 10090
Schema クラス (PECL mysql-xdevapi >= 8.0.11) はじめに クラス概要 class mysql_xdevapi\Schema implements mysql_xdevapi\DatabaseObject { /* プロパティ */ public $ name ; /* メソッド */ public function createCollection ( string $name ): mysql_x ... public function getTable ( string $name ): mysql_xdevapi\Table public function getTables (): array } プロパティ name 目次 Schema::__construct — Schema のコンストラクタ Schema::createCollection — スキーマにコレクションを追加する Schema::dropCollection ... — スキーマからコレクションを削除する Schema::existsInDatabase — データベースに存在するかをチェックする Schema::getCollection — スキーマからコレクションを取得する Sche ... ma::getCollectionAsTable — コレクションをテーブルオブジェクトとして取得する Schema::getCollections — スキーマに属する全てのコレクションを取得する Schema::getName — スキーマの名前を取得する Schema::getSessi ...
https://man.mtool.work/php/8.3/class.mysql-xdevapi-schema.html
cubrid_schema — Get the requested schema information | PHP 8.3 9769
cubrid_schema (PECL CUBRID >= 8.3.0) cubrid_schema — Get the requested schema information 説明 function cubrid_schema ( resource $conn_identifier , int $schema_type , string $class_name = ? , string $attr_name = ? ): array The cubrid_schema ... () function is used to get the requested schema information from database. To get information about specific class, set the class_name , to get information about specific ... attribute (can be used only with CUBRID_SCH_ATTR_PRIVILEGE ), set the attr_name . The result of the cubrid_schema() function is returned as a two-dimensional array (column (associative array) * row (numeric array)). The following tables ... shows types of schema and the column structure of the result array to be returned based on the schema type. Result Composition of Each Type Sche ...
https://man.mtool.work/php/8.3/function.cubrid-schema.html
Schema::dropCollection — スキーマからコレクションを削除する | PHP 8.3 9325
Schema::dropCollection (No version information available, might only be in Git) Schema::dropCollection — スキーマからコレクションを削除する 説明 public function mysql_xdevapi\Schema::dropCollection ( string $collection_name ): bool 警告 この ... のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ collection_name 戻り値 例 例1 mysql_xdevapi\Schema::dropCollection() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( ... CREATE DATABASE food" )-> execute (); $session -> sql ( "CREATE TABLE food.fruit(name text, rating text)" )-> execute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); $schema -> dropCollection ( "trees" ); $schem ... a -> createCollection ( "buildings" ); print_r ( $schema -> gettables ()); print_r ( $schema -> getcollections ()); 上の例の出力は、 たとえば以下のようになります。 Array ( [fruit] ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.dropcollection.html
Schema::createCollection — スキーマにコレクションを追加する | PHP 8.3 9180
Schema::createCollection (No version information available, might only be in Git) Schema::createCollection — スキーマにコレクションを追加する 説明 public function mysql_xdevapi\Schema::createCollection ( string $name ): mysql_xdevapi\Collec ... ンオブジェクトを返します。 変更履歴 バージョン 説明 8.0.20 オプションの validate 引数が追加されました。 例 例1 mysql_xdevapi\Schema::createCollection() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ... CREATE DATABASE food" )-> execute (); $session -> sql ( "CREATE TABLE food.fruit(name text, rating text)" )-> execute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); print_r ( $schema -> gettables ()); print_r ( ... $schema -> getcollections ()); 上の例の出力は、 たとえば以下のようになります。 Array ( [fruit] => mysql_xdevapi\Table Object ( [na ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.createcollection.html
Schema::__construct — Schema のコンストラクタ | PHP 8.3 8911
Schema::__construct (No version information available, might only be in Git) Schema::__construct — Schema のコンストラクタ 説明 private function mysql_xdevapi\Schema::__construct () スキーマオブジェクトは、スキーマ(データベース)への完全なア ... クセスを提供します。 パラメータ この関数にはパラメータはありません。 例 例1 mysql_xdevapi\Schema::__construct() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( "D ... CREATE DATABASE food" )-> execute (); $session -> sql ( "CREATE TABLE food.fruit(name text, rating text)" )-> execute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); print_r ( $schema -> gettables ()); print_r ( ... $schema -> getcollections ()); 上の例の出力は、 たとえば以下のようになります。 Array ( [fruit] => mysql_xdevapi\Table Object ( [na ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.construct.html
yaz_schema — 取得するスキーマを指定する | PHP 8.3 8684
yaz_schema (PHP 4 >= 4.2.0, PECL yaz >= 0.9.0) yaz_schema — 取得するスキーマを指定する 説明 function yaz_schema ( resource $id , string $schema ): void yaz_schema() は取得するスキーマを指定します。 この関数は、 yaz_search() あるいは yaz_pre ... sent() より前にコールしなければなりません。 パラメータ id yaz_connect() が返す接続リソース。 schema ドット記法の( 1.2.840.10003.13.4 のような) OID あるいは登録されているスキーマのひとつ、たとえば GILS-schema 、 Holdings ... 戻り値 値を返しません。 他のマニュアルの関連ページ DuckDB List Tables Linux JM cardctl(8) DuckDB USE Statement DuckDB CREATE SCHEMA Statement DuckDB CREATE VIEW Statement DuckDB Iceberg Functions ...
https://man.mtool.work/php/8.3/function.yaz-schema.html
Schema::getCollectionAsTable — コレクションをテーブルオブジェクトとして取得する... 8270
Schema::getCollectionAsTable (No version information available, might only be in Git) Schema::getCollectionAsTable — コレクションをテーブルオブジェクトとして取得する 説明 public function mysql_xdevapi\Schema::getCollectionAsTable ( string $ ... ス化するためのコレクション名 戻り値 コレクションに対応する mysql_xdevapi\Table オブジェクトを返します。 例 例1 mysql_xdevapi\Schema::getCollectionAsTable() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> ... l ( "DROP DATABASE IF EXISTS addressbook" )-> execute (); $session -> sql ( "CREATE DATABASE addressbook" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $collect = $schema -> createCollection ( "people" ); $collect -> add ( '{"name" ... nstruction"}' )-> execute (); $collect -> add ( '{"name": "Wilma", "age": 23, "job": "Teacher"}' )-> execute (); $table = $schema -> getCollectionAsTable ( "people" ); $collection = $schema -> getCollection ( "people" ); var_dump ( $table ); var_dump ( ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.getcollectionastable.html
Schema::existsInDatabase — データベースに存在するかをチェックする | PHP 8.3 7960
Schema::existsInDatabase (No version information available, might only be in Git) Schema::existsInDatabase — データベースに存在するかをチェックする 説明 public function mysql_xdevapi\Schema::existsInDatabase (): bool 現在のオブジェクト(スキ ... 、コレクション、テーブル、またはビューがスキーマに存在していれば true そうでなければ false を返します。 例 例1 mysql_xdevapi\Schema::existsInDatabase() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ... CREATE DATABASE food" )-> execute (); $session -> sql ( "CREATE TABLE food.fruit(name text, rating text)" )-> execute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); // ... $trees = $schema -> getCollection ( "t ... rees" ); // ... // Is this collection still in the database (schema)? if ( $trees -> existsInDatabase ()) { echo "Yes, the 'trees' collection is still present." ; } 上の例の出力は、 たとえば ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.existsindatabase.html
Session::getSchema — 新しいスキーマオブジェクトを取得する | PHP 8.3 7960
Session::getSchema (No version information available, might only be in Git) Session::getSchema — 新しいスキーマオブジェクトを取得する 説明 public function mysql_xdevapi\Session::getSchema ( string $schema_name ): mysql_xdevapi\Schema 与えら ... れたスキーマ名に対応する新しいスキーマオブジェクトを返します。 パラメータ schema_name スキーマオブジェクトを取得するためのスキーマ(データベース) の名前 戻り値 Schema オブジェクトを返します。 例 例1 mysql ... _xdevapi\Session::getSchema() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $schema = $session -> getSchema ( ... "addressbook" ); print_r ( $schema ); 上の例の出力は、 たとえば以下のようになります。 mysql_xdevapi\Schema Object ( [name] => addressbook ) 他のマニュアルの関 ...
https://man.mtool.work/php/8.3/mysql-xdevapi-session.getschema.html
Schema::getCollection — スキーマからコレクションを取得する | PHP 8.3 7867
Schema::getCollection (No version information available, might only be in Git) Schema::getCollection — スキーマからコレクションを取得する 説明 public function mysql_xdevapi\Schema::getCollection ( string $name ): mysql_xdevapi\Collection ス ... name 取得するコレクションの名前 戻り値 選択したコレクションを指す Collection オブジェクトを返します。 例 例1 mysql_xdevapi\Schema::getCollection() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( ... "DROP DATABASE IF EXISTS food" )-> execute (); $session -> sql ( "CREATE DATABASE food" )-> execute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); // ... $trees = $schema -> getCollection ( "t ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.getcollection.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT