« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 69 for getCollection (0.001 sec.)
スキーマからコレクションを取得する 13560
« Schema::existsInDatabase Schema::getCollectionAsTable » PHP Manual mysql_xdevapi\Schema スキーマからコレクションを取得する 検索 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 ... xecute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); // ... $trees = $schema -> getCollection ( "trees" ); var_dump ( $trees ); 上の例の出力は、 たとえば以下のようになります。 object(mysql_xdevapi\Collection)#3 (1) { ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.getcollection.html
スキーマからコレクションを取得する 13560
« Schema::existsInDatabase Schema::getCollectionAsTable » PHP Manual mysql_xdevapi\Schema スキーマからコレクションを取得する 検索 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 ... xecute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); // ... $trees = $schema -> getCollection ( "trees" ); var_dump ( $trees ); 上の例の出力は、 たとえば以下のようになります。 object(mysql_xdevapi\Collection)#3 (1) { ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.getcollection.html
Schema クラス 9177
« RowResult::getWarningsCount Schema::__construct » PHP Manual Mysql_xdevapi Schema クラス 検索 Schema クラス (PECL mysql-xdevapi >= 8.0.11) はじめに クラス概要 class mysql_xdevapi\Schema implements mysql_xdevapi\DatabaseObject { /* プロパテ ... public function dropCollection ( string $collection_name ): bool public function existsInDatabase (): bool public function getCollection ( string $name ): mysql_xdevapi\Collection public function getCollectionAsTable ( string $name ): mysql_xdevapi\Table publ ... ic function getCollections (): array public function getName (): string public function getSession (): mysql_xdevapi\Session public function getTabl ... pCollection — スキーマからコレクションを削除する Schema::existsInDatabase — データベースに存在するかをチェックする Schema::getCollection — スキーマからコレクションを取得する Schema::getCollectionAsTable — コレクションをテーブルオブジェクトとして取得する Schem ...
https://man.mtool.work/php/8.3/class.mysql-xdevapi-schema.html
Schema クラス 9177
« RowResult::getWarningsCount Schema::__construct » PHP Manual Mysql_xdevapi Schema クラス 検索 Schema クラス (PECL mysql-xdevapi >= 8.0.11) はじめに クラス概要 class mysql_xdevapi\Schema implements mysql_xdevapi\DatabaseObject { /* プロパテ ... public function dropCollection ( string $collection_name ): bool public function existsInDatabase (): bool public function getCollection ( string $name ): mysql_xdevapi\Collection public function getCollectionAsTable ( string $name ): mysql_xdevapi\Table publ ... ic function getCollections (): array public function getName (): string public function getSession (): mysql_xdevapi\Session public function getTabl ... pCollection — スキーマからコレクションを削除する Schema::existsInDatabase — データベースに存在するかをチェックする Schema::getCollection — スキーマからコレクションを取得する Schema::getCollectionAsTable — コレクションをテーブルオブジェクトとして取得する Schem ...
https://man.mtool.work/php/8.3/class.mysql-xdevapi-schema.html
データベースに存在するかをチェックする 9063
« Schema::dropCollection Schema::getCollection » PHP Manual mysql_xdevapi\Schema データベースに存在するかをチェックする 検索 Schema::existsInDatabase (No version information available, might only be in Git) Schema::existsInDatabase — データ ... xecute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); // ... $trees = $schema -> getCollection ( "trees" ); // ... // Is this collection still in the database (schema)? if ( $trees -> existsInDatabase ()) { echo "Yes, ... chema trees existsInDatabase session mysql xdevapi スキーマ food schema データベース チェック sql execute collection still getCollection オブジェクト テーブル コレクション パラメータ ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.existsindatabase.html
データベースに存在するかをチェックする 9063
« Schema::dropCollection Schema::getCollection » PHP Manual mysql_xdevapi\Schema データベースに存在するかをチェックする 検索 Schema::existsInDatabase (No version information available, might only be in Git) Schema::existsInDatabase — データ ... xecute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); // ... $trees = $schema -> getCollection ( "trees" ); // ... // Is this collection still in the database (schema)? if ( $trees -> existsInDatabase ()) { echo "Yes, ... ド: Schema trees existsInDatabase session mysql xdevapi スキーマ food schema データベース チェック execute collection still getCollection テーブル コレクション text present dropCollection information available ビュー getSession mysqlx ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.existsindatabase.html
コレクションをテーブルオブジェクトとして取得する 8950
« Schema::getCollection Schema::getCollections » PHP Manual mysql_xdevapi\Schema コレクションをテーブルオブジェクトとして取得する 検索 Schema::getCollectionAsTable (No version information available, might only be in Git) Schema::getCollection ... onAsTable — コレクションをテーブルオブジェクトとして取得する 説明 public function mysql_xdevapi\Schema::getCollectionAsTable ( string $name ): mysql_xdevapi\Table コレクションをコレクションオブジェクトではなく、テーブルオブジェクトとして取得 ... ためのコレクション名 戻り値 コレクションに対応する mysql_xdevapi\Table オブジェクトを返します。 例 例1 mysql_xdevapi\Schema::getCollectionAsTable() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( "DROP DA ... "}' )-> execute (); $collect -> add ( '{"name": "Wilma", "age": 23, "job": "Teacher"}' )-> execute (); $table = $schema -> getCollectionAsTable ( "people" ); $collection = $schema -> getCollection ( "people" ); var_dump ( $table ); var_dump ( $collection ); 上 ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.getcollectionastable.html
コレクションをテーブルオブジェクトとして取得する 8950
« Schema::getCollection Schema::getCollections » PHP Manual mysql_xdevapi\Schema コレクションをテーブルオブジェクトとして取得する 検索 Schema::getCollectionAsTable (No version information available, might only be in Git) Schema::getCollection ... onAsTable — コレクションをテーブルオブジェクトとして取得する 説明 public function mysql_xdevapi\Schema::getCollectionAsTable ( string $name ): mysql_xdevapi\Table コレクションをコレクションオブジェクトではなく、テーブルオブジェクトとして取得 ... ためのコレクション名 戻り値 コレクションに対応する mysql_xdevapi\Table オブジェクトを返します。 例 例1 mysql_xdevapi\Schema::getCollectionAsTable() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( "DROP DA ... "}' )-> execute (); $collect -> add ( '{"name": "Wilma", "age": 23, "job": "Teacher"}' )-> execute (); $table = $schema -> getCollectionAsTable ( "people" ); $collection = $schema -> getCollection ( "people" ); var_dump ( $table ); var_dump ( $collection ); 上 ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.getcollectionastable.html
トランザクションをコミットする 8371
« Session::close Session::__construct » PHP Manual mysql_xdevapi\Session トランザクションをコミットする 検索 Session::commit (PHP 4 >= 4.4.0, PHP 5, PHP 7, PHP 8) Session::commit — トランザクションをコミットする 説明 public function mysql_x ... = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $collection = $session -> getSchema ( "addressbook" )-> getCollection ( "friends" ); $session -> startTransaction (); $collection -> add ( '{"John":42, "Sam":33}' )-> execute (); $savepoint = ... ミット mysql xdevapi collection construct SqlStatementResult getSession mysqlx user password localhost getSchema addressbook getCollection friends startTransaction John execute savepoint setSavepoint ...
https://man.mtool.work/php/8.3/mysql-xdevapi-session.commit.html
トランザクションを開始する 8371
« Session::sql mysql_xdevapi\SqlStatement » PHP Manual mysql_xdevapi\Session トランザクションを開始する 検索 Session::startTransaction (No version information available, might only be in Git) Session::startTransaction — トランザクションを開 ... = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $collection = $session -> getSchema ( "addressbook" )-> getCollection ( "friends" ); $session -> startTransaction (); $collection -> add ( '{"test1":1, "test2":2}' )-> execute (); $savepoint = ... oint SqlStatement information available SqlStatementResult getSession mysqlx user password localhost getSchema addressbook getCollection friends setSavepoint releaseSavepoint ...
https://man.mtool.work/php/8.3/mysql-xdevapi-session.starttransaction.html
PREV 1 2 3 4 5 6 7 NEXT