« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 7 of about 7 for getCollections (0.002 sec.)
Schema::getCollections — スキーマに属する全てのコレクションを取得する | PHP 8.3 13213
Schema::getCollections (No version information available, might only be in Git) Schema::getCollections — スキーマに属する全てのコレクションを取得する 説明 public function mysql_xdevapi\Schema::getCollections (): array このスキーマに属するコ ... して返します。 個々の要素は、コレクション名をキーとし、コレクションオブジェクトが値となります。 例 例1 mysql_xdevapi\Schema::getCollections() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( "DROP DATABASE ... > execute (); $collect -> add ( '{"name": "Wilma", "age": 23, "job": "Teacher"}' )-> execute (); $collections = $schema -> getCollections (); var_dump ( $collections ); ?> 上の例の出力は、 たとえば以下のようになります。 array(1) { ["people"]=> object(mysql_xde ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.getcollections.html
Schema クラス | PHP 8.3 9724
Schema クラス (PECL mysql-xdevapi >= 8.0.11) はじめに クラス概要 class mysql_xdevapi\Schema implements mysql_xdevapi\DatabaseObject { /* プロパティ */ public $ name ; /* メソッド */ public function createCollection ( string $name ): mysql_x ... ame ): mysql_xdevapi\Collection public function getCollectionAsTable ( string $name ): mysql_xdevapi\Table public function getCollections (): array public function getName (): string public function getSession (): mysql_xdevapi\Session public function getTable ... スキーマからコレクションを取得する Schema::getCollectionAsTable — コレクションをテーブルオブジェクトとして取得する Schema::getCollections — スキーマに属する全てのコレクションを取得する Schema::getName — スキーマの名前を取得する Schema::getSession — スキーマのセ ...
https://man.mtool.work/php/8.3/class.mysql-xdevapi-schema.html
Schema::__construct — Schema のコンストラクタ | PHP 8.3 8633
Schema::__construct (No version information available, might only be in Git) Schema::__construct — Schema のコンストラクタ 説明 private function mysql_xdevapi\Schema::__construct () スキーマオブジェクトは、スキーマ(データベース)への完全なア ... -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); print_r ( $schema -> gettables ()); print_r ( $schema -> getcollections ()); 上の例の出力は、 たとえば以下のようになります。 Array ( [fruit] => mysql_xdevapi\Table Object ( [name] => fruit ) ) A ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.construct.html
Schema::dropCollection — スキーマからコレクションを削除する | PHP 8.3 8524
Schema::dropCollection (No version information available, might only be in Git) Schema::dropCollection — スキーマからコレクションを削除する 説明 public function mysql_xdevapi\Schema::dropCollection ( string $collection_name ): bool 警告 この ... lection ( "trees" ); $schema -> createCollection ( "buildings" ); print_r ( $schema -> gettables ()); print_r ( $schema -> getcollections ()); 上の例の出力は、 たとえば以下のようになります。 Array ( [fruit] => mysql_xdevapi\Table Object ( [name] => fruit ) ) A ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.dropcollection.html
Schema::createCollection — スキーマにコレクションを追加する | PHP 8.3 8306
Schema::createCollection (No version information available, might only be in Git) Schema::createCollection — スキーマにコレクションを追加する 説明 public function mysql_xdevapi\Schema::createCollection ( string $name ): mysql_xdevapi\Collec ... -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); print_r ( $schema -> gettables ()); print_r ( $schema -> getcollections ()); 上の例の出力は、 たとえば以下のようになります。 Array ( [fruit] => mysql_xdevapi\Table Object ( [name] => fruit ) ) A ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.createcollection.html
Mysql_xdevapi | PHP 8.3 7761
Mysql_xdevapi はじめに この拡張モジュールは、MySQLドキュメントストアに X DevAPI 経由でアクセスできるようにします。 X DevAPI は、複数の MySQLコネクタ によって提供されている、共通のAPIです。 これらのコネクタは、リレーショナルなテーブルだけでな ... スキーマからコレクションを取得する Schema::getCollectionAsTable — コレクションをテーブルオブジェクトとして取得する Schema::getCollections — スキーマに属する全てのコレクションを取得する Schema::getName — スキーマの名前を取得する Schema::getSession — スキーマのセ ...
https://man.mtool.work/php/8.3/book.mysql-xdevapi.html
サンプル | PHP 8.3 7433
サンプル マニュアル内の全サンプルの一覧 Example#0 - 初歩的な例 Example#1 - 初めての PHP スクリプト: hello.php Example#2 - PHP からシステムに関する情報を取得する Example#3 - 変数を出力する (配列要素) Example#4 - 制御構造 および 関数の使用例 ... ma::getCollection の例 Example#1865 - mysql_xdevapi\Schema::getCollectionAsTable の例 Example#1866 - mysql_xdevapi\Schema::getCollections の例 Example#1867 - mysql_xdevapi\Schema::getName の例 Example#1868 - mysql_xdevapi\Schema::getSession の例 Example#1869 - ...
https://man.mtool.work/php/8.3/indexes.examples.html
PREV 1 NEXT