« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 7 of about 7 for getOne (0.004 sec.)
Collection::getOne — ドキュメントをひとつ取得 | PHP 8.3 13068
Collection::getOne (No version information available, might only be in Git) Collection::getOne — ドキュメントをひとつ取得 説明 public function mysql_xdevapi\Collection::getOne ( string $id ): Document コレクションから、ドキュメントをひとつ取 ... レクションオブジェクトを返します。 _id にドキュメントがマッチしなければ、 null を返します。 例 例1 mysql_xdevapi\Collection::getOne() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( "DROP DATABASE ... ] $ids = $result -> getGeneratedIds (); $alfreds_id = $ids [ 0 ]; // ... print_r ( $alfreds_id ); print_r ( $collection -> getOne ( $alfreds_id )); ?> 上の例の出力は、 たとえば以下のようになります。 00005b6b536100000000000000b1 Array ( [_id] => 00005b6 ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.getone.html
Collection::__construct — Collection のコンストラクタ | PHP 8.3 9742
Collection::__construct (No version information available, might only be in Git) Collection::__construct — Collection のコンストラクタ 説明 private function mysql_xdevapi\Collection::__construct () コレクションオブジェクトを構築します。 パラ ... メータ この関数にはパラメータはありません。 例 例1 mysql_xdevapi\Collection::getOne() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( "DROP DATABASE ... す $ids = $result -> getGeneratedIds (); $alfreds_id = $ids [ 0 ]; // ... print_r ( $alfreds_id ); print_r ( $collection -> getOne ( $alfreds_id )); ?> 上の例の出力は、 たとえば以下のようになります。 00005b6b536100000000000000b1 Array ( [_id] => 00005b6 ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.construct.html
Collection クラス | PHP 8.3 9433
Collection クラス (PECL mysql-xdevapi >= 8.0.11) はじめに クラス概要 class mysql_xdevapi\Collection implements mysql_xdevapi\SchemaObject { /* プロパティ */ public $ name ; /* メソッド */ public function add ( mixed $document ): mysql_xdeva ... ion find ( string $search_condition = ? ): mysql_xdevapi\CollectionFind public function getName (): string public function getOne ( string $id ): Document public function getSchema (): Schema Object public function getSession (): Session public functio ... 在するかをチェックする Collection::find — ドキュメントを検索する Collection::getName — コレクションの名前を得る Collection::getOne — ドキュメントをひとつ取得 Collection::getSchema — スキーマオブジェクトを得る Collection::getSession — セッションオブジェク ...
https://man.mtool.work/php/8.3/class.mysql-xdevapi-collection.html
Collection::replaceOne — コレクションのドキュメントをひとつ置き換える | PHP 8.3 8360
Collection::replaceOne (No version information available, might only be in Git) Collection::replaceOne — コレクションのドキュメントをひとつ置き換える 説明 public function mysql_xdevapi\Collection::replaceOne ( string $id , string $doc ): my ... を取得し、それを使います。 $ids = $result -> getGeneratedIds (); $alfred_id = $ids [ 0 ]; // ... $alfred = $collection -> getOne ( $alfred_id ); $alfred [ 'age' ] = 81 ; $alfred [ 'job' ] = 'Guru' ; $collection -> replaceOne ( $alfred_id , $alfred ); ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.replaceone.html
Mysql_xdevapi | PHP 8.3 7833
Mysql_xdevapi はじめに この拡張モジュールは、MySQLドキュメントストアに X DevAPI 経由でアクセスできるようにします。 X DevAPI は、複数の MySQLコネクタ によって提供されている、共通のAPIです。 これらのコネクタは、リレーショナルなテーブルだけでな ... 在するかをチェックする Collection::find — ドキュメントを検索する Collection::getName — コレクションの名前を得る Collection::getOne — ドキュメントをひとつ取得 Collection::getSchema — スキーマオブジェクトを得る Collection::getSession — セッションオブジェク ...
https://man.mtool.work/php/8.3/book.mysql-xdevapi.html
サンプル | PHP 8.3 7615
サンプル マニュアル内の全サンプルの一覧 Example#0 - 初歩的な例 Example#1 - 初めての PHP スクリプト: hello.php Example#2 - PHP からシステムに関する情報を取得する Example#3 - 変数を出力する (配列要素) Example#4 - 制御構造 および 関数の使用例 ... ollection::add の例 Example#1772 - mysql_xdevapi\Collection::addOrReplaceOne の例 Example#1773 - mysql_xdevapi\Collection::getOne の例 Example#1774 - mysql_xdevapi\Collection::count の例 Example#1775 - mysql_xdevapi\Collection::createIndex の例 Example ... evapi\Collection::find の例 Example#1779 - mysql_xdevapi\Collection::getName の例 Example#1780 - mysql_xdevapi\Collection::getOne の例 Example#1781 - mysql_xdevapi\Collection::getSchema の例 Example#1782 - mysql_xdevapi\Collection::getSession の例 Exam ...
https://man.mtool.work/php/8.3/indexes.examples.html
関数・メソッド | PHP 8.3 7506
関数・メソッド マニュアル内の全関数およびメソッドの一覧 a b c d e f g h i j k l m n o p q r s t u v w x y z _ a abs - 絶対値 acos - 逆余弦(アークコサイン) acosh - 逆双曲線余弦(アークハイパボリックコサイン) addcslashes - C 言語と同様にス ... 在するかをチェックする Collection::find - ドキュメントを検索する Collection::getName - コレクションの名前を得る Collection::getOne - ドキュメントをひとつ取得 Collection::getSchema - スキーマオブジェクトを得る Collection::getSession - セッションオブジェク ...
https://man.mtool.work/php/8.3/indexes.functions.html
PREV 1 NEXT