« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 11 for existsInDatabase (0.003 sec.)
DatabaseObject::existsInDatabase — オブジェクトがデータベースに存在するかをチェ... 11593
DatabaseObject::existsInDatabase (No version information available, might only be in Git) DatabaseObject::existsInDatabase — オブジェクトがデータベースに存在するかをチェックする 説明 abstract public function mysql_xdevapi\DatabaseObject::existsInDatabase ... トがデータベースに存在していれば true を返します。 そうでなければ、 false を返します。 例 例1 mysql_xdevapi\DatabaseObject::existsInDatabase() の例 <?php $existInDb = $dbObj -> existsInDatabase (); ?> 他のマニュアルの関連ページ Linux JM lkbib(1) Docker 複数コンテ ...
https://man.mtool.work/php/8.3/mysql-xdevapi-databaseobject.existsindatabase.htm...
Collection::existsInDatabase — コレクションがデータベースに存在するかをチェック... 11273
Collection::existsInDatabase (No version information available, might only be in Git) Collection::existsInDatabase — コレクションがデータベースに存在するかをチェックする 説明 public function mysql_xdevapi\Collection::existsInDatabase (): bo ... は、doc, _id, _json_schema の3つのカラムで構成されたテーブルが コレクションと見なされます。 これに対してカラムを追加すると、 existsInDatabase() はコレクションとは見なさなくなります。 例 例1 mysql_xdevapi\Collection::existsInDatabase() の例 <?php $session = mysql_x ... -> createCollection ( "people" ); // ... $collection = $schema -> getCollection ( "people" ); // ... if (! $collection -> existsInDatabase ()) { echo "The collection no longer exists in the database named addressbook. What happened?" ; } ?> 他のマニュアルの関連 ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.existsindatabase.html
Table::existsInDatabase — テーブルがデータベースに存在するかをチェックする | PH... 10811
Table::existsInDatabase (No version information available, might only be in Git) Table::existsInDatabase — テーブルがデータベースに存在するかをチェックする 説明 public function mysql_xdevapi\Table::existsInDatabase (): bool このテーブルがデ ... 値 テーブルがデータベースに存在していれば true を返します。 そうでなければ、 false を返します。 例 例1 mysql_xdevapi\Table::existsInDatabase() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( "DROP DATABASE ... -> execute (); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "names" ); if ( $table -> existsInDatabase ()) { echo "Yes, this table still exists in the session's schema." ; } ?> 上の例の出力は、 たとえば以下のようになります。 ...
https://man.mtool.work/php/8.3/mysql-xdevapi-table.existsindatabase.html
Schema::existsInDatabase — データベースに存在するかをチェックする | PHP 8.3 10651
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 ( "DROP DATABASE ... $trees = $schema -> getCollection ( "trees" ); // ... // Is this collection still in the database (schema)? if ( $trees -> existsInDatabase ()) { echo "Yes, the 'trees' collection is still present." ; } 上の例の出力は、 たとえば以下のようになります。 Yes, the 't ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.existsindatabase.html
DatabaseObject インターフェイス | PHP 8.3 8766
DatabaseObject インターフェイス (PECL mysql-xdevapi >= 8.0.11) はじめに クラス概要 class mysql_xdevapi\DatabaseObject { /* メソッド */ abstract public function existsInDatabase (): bool abstract public function getName (): string abstract p ... ublic function getSession (): mysql_xdevapi\Session } 目次 DatabaseObject::existsInDatabase — オブジェクトがデータベースに存在するかをチェックする DatabaseObject::getName — オブジェクトの名前を取得する DatabaseObje ...
https://man.mtool.work/php/8.3/class.mysql-xdevapi-databaseobject.html
Schema クラス | PHP 8.3 8055
Schema クラス (PECL mysql-xdevapi >= 8.0.11) はじめに クラス概要 class mysql_xdevapi\Schema implements mysql_xdevapi\DatabaseObject { /* プロパティ */ public $ name ; /* メソッド */ public function createCollection ( string $name ): mysql_x ... devapi\Collection public function dropCollection ( string $collection_name ): bool public function existsInDatabase (): bool public function getCollection ( string $name ): mysql_xdevapi\Collection public function getCollectionAsTable ( s ... a::createCollection — スキーマにコレクションを追加する Schema::dropCollection — スキーマからコレクションを削除する Schema::existsInDatabase — データベースに存在するかをチェックする Schema::getCollection — スキーマからコレクションを取得する Schema::getCollectionA ...
https://man.mtool.work/php/8.3/class.mysql-xdevapi-schema.html
Table クラス | PHP 8.3 7966
Table クラス (PECL mysql-xdevapi >= 8.0.11) はじめに INSERT/SELECT/UPDATE/DELETE ステートメントを通じて、テーブルへのアクセスを提供します。 クラス概要 class mysql_xdevapi\Table implements mysql_xdevapi\SchemaObject { /* プロパティ */ public ... $ name ; /* メソッド */ public function count (): int public function delete (): mysql_xdevapi\TableDelete public function existsInDatabase (): bool public function getName (): string public function getSchema (): mysql_xdevapi\Schema public function getSession ... able::__construct — Table のコンストラクタ Table::count — 行の数を取得する Table::delete — テーブルから行を削除する Table::existsInDatabase — テーブルがデータベースに存在するかをチェックする Table::getName — テーブル名を取得する Table::getSchema — テーブルスキー ...
https://man.mtool.work/php/8.3/class.mysql-xdevapi-table.html
Collection クラス | PHP 8.3 7823
Collection クラス (PECL mysql-xdevapi >= 8.0.11) はじめに クラス概要 class mysql_xdevapi\Collection implements mysql_xdevapi\SchemaObject { /* プロパティ */ public $ name ; /* メソッド */ public function add ( mixed $document ): mysql_xdeva ... tring $index_name , string $index_desc_json ): void public function dropIndex ( string $index_name ): bool public function existsInDatabase (): bool public function find ( string $search_condition = ? ): mysql_xdevapi\CollectionFind public function getName (): s ... ction::createIndex — コレクションにインデックスを作成 Collection::dropIndex — コレクションのインデックスを削除 Collection::existsInDatabase — コレクションがデータベースに存在するかをチェックする Collection::find — ドキュメントを検索する Collection::getName — コレ ...
https://man.mtool.work/php/8.3/class.mysql-xdevapi-collection.html
Mysql_xdevapi | PHP 8.3 7575
Mysql_xdevapi はじめに この拡張モジュールは、MySQLドキュメントストアに X DevAPI 経由でアクセスできるようにします。 X DevAPI は、複数の MySQLコネクタ によって提供されている、共通のAPIです。 これらのコネクタは、リレーショナルなテーブルだけでな ... ction::createIndex — コレクションにインデックスを作成 Collection::dropIndex — コレクションのインデックスを削除 Collection::existsInDatabase — コレクションがデータベースに存在するかをチェックする Collection::find — ドキュメントを検索する Collection::getName — コレ ... dOperationSortable::sort — 結果をソートする mysql_xdevapi\DatabaseObject — DatabaseObject インターフェイス DatabaseObject::existsInDatabase — オブジェクトがデータベースに存在するかをチェックする DatabaseObject::getName — オブジェクトの名前を取得する DatabaseObje ... a::createCollection — スキーマにコレクションを追加する Schema::dropCollection — スキーマからコレクションを削除する Schema::existsInDatabase — データベースに存在するかをチェックする Schema::getCollection — スキーマからコレクションを取得する Schema::getCollectionA ...
https://man.mtool.work/php/8.3/book.mysql-xdevapi.html
サンプル | PHP 8.3 6721
サンプル マニュアル内の全サンプルの一覧 Example#0 - 初歩的な例 Example#1 - 初めての PHP スクリプト: hello.php Example#2 - PHP からシステムに関する情報を取得する Example#3 - 変数を出力する (配列要素) Example#4 - 制御構造 および 関数の使用例 ... lection::createIndex の例 Example#1776 - mysql_xdevapi\Collection::dropIndex の例 Example#1777 - mysql_xdevapi\Collection::existsInDatabase の例 Example#1778 - mysql_xdevapi\Collection::find の例 Example#1779 - mysql_xdevapi\Collection::getName の例 Example#1780 ... able::skip の例 Example#1833 - mysql_xdevapi\CrudOperationSortable::sort の例 Example#1834 - mysql_xdevapi\DatabaseObject::existsInDatabase の例 Example#1835 - mysql_xdevapi\DatabaseObject::getName の例 Example#1836 - mysql_xdevapi\DatabaseObject::getSession の例 ... chema::createCollection の例 Example#1862 - mysql_xdevapi\Schema::dropCollection の例 Example#1863 - mysql_xdevapi\Schema::existsInDatabase の例 Example#1864 - mysql_xdevapi\Schema::getCollection の例 Example#1865 - mysql_xdevapi\Schema::getCollectionAsTable の例 ...
https://man.mtool.work/php/8.3/indexes.examples.html
PREV 1 2 NEXT