« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 42 for alfred (0.002 sec.)
コレクションからドキュメントをひとつ削除する 12619
« Collection::remove Collection::replaceOne » PHP Manual mysql_xdevapi\Collection コレクションからドキュメントをひとつ削除する 検索 Collection::removeOne (No version information available, might only be in Git) Collection::removeOne — コレク ... chema ( "addressbook" ); $collection = $schema -> createCollection ( "people" ); $result = $collection -> add ( '{"name": "Alfred", "age": 18, "job": "Butler"}' )-> execute (); // Normally the _id is known by other means, // but for this example let's ... fetch the generated id and use it $ids = $result -> getGeneratedIds (); $alfred_id = $ids [ 0 ]; $result = $collection -> removeOne ( $alfred_id ); if(! $result -> getAffectedItemsCount ()) { echo "Alfr ... ed with id $alfred_id was not removed." ; } else { echo "Goodbye, Alfred, you can take _id $alfred_id with you." ; } ?> 上の例の出力は、 たと ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.removeone.html
コレクションからドキュメントをひとつ削除する 12557
« Collection::remove Collection::replaceOne » PHP Manual mysql_xdevapi\Collection コレクションからドキュメントをひとつ削除する 検索 Collection::removeOne (No version information available, might only be in Git) Collection::removeOne — コレク ... chema ( "addressbook" ); $collection = $schema -> createCollection ( "people" ); $result = $collection -> add ( '{"name": "Alfred", "age": 18, "job": "Butler"}' )-> execute (); // Normally the _id is known by other means, // but for this example let's ... fetch the generated id and use it $ids = $result -> getGeneratedIds (); $alfred_id = $ids [ 0 ]; $result = $collection -> removeOne ( $alfred_id ); if(! $result -> getAffectedItemsCount ()) { echo "Alfr ... ed with id $alfred_id was not removed." ; } else { echo "Goodbye, Alfred, you can take _id $alfred_id with you." ; } ?> 上の例の出力は、 たと ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.removeone.html
コレクションのドキュメントをひとつ置き換える 11752
« Collection::removeOne mysql_xdevapi\CollectionAdd » PHP Manual mysql_xdevapi\Collection コレクションのドキュメントをひとつ置き換える 検索 Collection::replaceOne (No version information available, might only be in Git) Collection::replaceO ... chema ( "addressbook" ); $collection = $schema -> createCollection ( "people" ); $result = $collection -> add ( '{"name": "Alfred", "age": 18, "job": "Butler"}' )-> execute (); // 通常、_id は他の手段によって知ることができますが、 // この例のために、生 ... 成された id を取得し、それを使います。 $ids = $result -> getGeneratedIds (); $alfred_id = $ids [ 0 ]; // ... $alfred = $collection -> getOne ( $alfred_id ); $alfred [ 'age' ] = 81 ; $alfred [ 'job' ] = 'Guru ... ' ; $collection -> replaceOne ( $alfred_id , $alfred ); ?> 関連キーワード: ドキュメント id alfred Collection mysql xdevapi replaceOne コレクション session collect ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.replaceone.html
コレクションのドキュメントをひとつ置き換える 11674
« Collection::removeOne mysql_xdevapi\CollectionAdd » PHP Manual mysql_xdevapi\Collection コレクションのドキュメントをひとつ置き換える 検索 Collection::replaceOne (No version information available, might only be in Git) Collection::replaceO ... chema ( "addressbook" ); $collection = $schema -> createCollection ( "people" ); $result = $collection -> add ( '{"name": "Alfred", "age": 18, "job": "Butler"}' )-> execute (); // 通常、_id は他の手段によって知ることができますが、 // この例のために、生 ... 成された id を取得し、それを使います。 $ids = $result -> getGeneratedIds (); $alfred_id = $ids [ 0 ]; // ... $alfred = $collection -> getOne ( $alfred_id ); $alfred [ 'age' ] = 81 ; $alfred [ 'job' ] = 'Guru ... ' ; $collection -> replaceOne ( $alfred_id , $alfred ); ?> 関連キーワード: ドキュメント alfred Collection mysql xdevapi replaceOne コレクション session collection ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.replaceone.html
Collection のコンストラクタ 8314
« Collection::addOrReplaceOne Collection::count » PHP Manual mysql_xdevapi\Collection Collection のコンストラクタ 検索 Collection::__construct (No version information available, might only be in Git) Collection::__construct — Collection のコ ... chema ( "addressbook" ); $collection = $schema -> createCollection ( "people" ); $result = $collection -> add ( '{"name": "Alfred", "age": 42, "job": "Butler"}' )-> execute (); // ユニークな _id が(デフォルト、そして推奨) MySQL サーバーによって生成され ... 作で、生成された _id を取得します。この例ではひとつしかないので、 $ids[0] になります $ids = $result -> getGeneratedIds (); $alfreds_id = $ids [ 0 ]; // ... print_r ( $alfreds_id ); print_r ( $collection -> getOne ( $alfreds_id )); ?> 上の例の出力は、 た ... なります。 00005b6b536100000000000000b1 Array ( [_id] => 00005b6b536100000000000000b1 [age] => 42 [job] => Butler [name] => Alfred ) 関連キーワード: Collection id mysql xdevapi session コンストラクタ construct addressbook execute collection ids alfreds ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.construct.html
Collection のコンストラクタ 8314
« Collection::addOrReplaceOne Collection::count » PHP Manual mysql_xdevapi\Collection Collection のコンストラクタ 検索 Collection::__construct (No version information available, might only be in Git) Collection::__construct — Collection のコ ... chema ( "addressbook" ); $collection = $schema -> createCollection ( "people" ); $result = $collection -> add ( '{"name": "Alfred", "age": 42, "job": "Butler"}' )-> execute (); // ユニークな _id が(デフォルト、そして推奨) MySQL サーバーによって生成され ... 作で、生成された _id を取得します。この例ではひとつしかないので、 $ids[0] になります $ids = $result -> getGeneratedIds (); $alfreds_id = $ids [ 0 ]; // ... print_r ( $alfreds_id ); print_r ( $collection -> getOne ( $alfreds_id )); ?> 上の例の出力は、 た ... なります。 00005b6b536100000000000000b1 Array ( [_id] => 00005b6b536100000000000000b1 [age] => 42 [job] => Butler [name] => Alfred ) 関連キーワード: Collection mysql xdevapi session コンストラクタ construct addressbook execute collection alfreds getOne ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.construct.html
CollectionFind のコンストラクタ 8314
« CollectionFind::bind CollectionFind::execute » PHP Manual mysql_xdevapi\CollectionFind CollectionFind のコンストラクタ 検索 CollectionFind::__construct (No version information available, might only be in Git) CollectionFind::__construct — ... -> getSchema ( "addressbook" ); $create = $schema -> createCollection ( "people" ); $result = $create -> add ( '{"name": "Alfred", "age": 18, "job": "Butler"}' ) -> execute (); // ... $collection = $schema -> getCollection ( "people" ); $result = $col ... { ["_id"]=> string(28) "00005b6b536100000000000000cf" ["age"]=> int(18) ["job"]=> string(6) "Butler" ["name"]=> string(6) "Alfred" } } 関連キーワード: CollectionFind execute session コンストラクタ mysql xdevapi construct addressbook schema Butler bind ... create people Alfred collection information available private 詳細 記述 getSession mysqlx user password localhost ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collectionfind.construct.html
ステートメントを実行する 8252
« CollectionFind::__construct CollectionFind::fields » PHP Manual mysql_xdevapi\CollectionFind ステートメントを実行する 検索 CollectionFind::execute (No version information available, might only be in Git) CollectionFind::execute — ステート ... = $session -> getSchema ( "addressbook" ); $create = $schema -> createCollection ( "people" ); $create -> add ( '{"name": "Alfred", "age": 18, "job": "Butler"}' ) -> execute (); // ... $collection = $schema -> getCollection ( "people" ); $result = $col ... { ["_id"]=> string(28) "00005b6b536100000000000000cf" ["age"]=> int(18) ["job"]=> string(6) "Butler" ["name"]=> string(6) "Alfred" } } 関連キーワード: CollectionFind execute mysql xdevapi session ステートメント 操作 addressbook schema Butler DocResult ... find create people Alfred collection construct fields information available チェイン 許可 getSession mysqlx user ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collectionfind.execute.html
ドキュメントをひとつ取得 8190
« Collection::getName Collection::getSchema » PHP Manual mysql_xdevapi\Collection ドキュメントをひとつ取得 検索 Collection::getOne (No version information available, might only be in Git) Collection::getOne — ドキュメントをひとつ取得 説明 p ... chema ( "addressbook" ); $collection = $schema -> createCollection ( "people" ); $result = $collection -> add ( '{"name": "Alfred", "age": 42, "job": "Butler"}' )-> execute (); // A unique _id is (by default, and recommended) generated by MySQL Server ... // This retrieves the generated _id's; only one in this example, so $ids[0] $ids = $result -> getGeneratedIds (); $alfreds_id = $ids [ 0 ]; // ... print_r ( $alfreds_id ); print_r ( $collection -> getOne ( $alfreds_id )); ?> 上の例の出力は、 た ... なります。 00005b6b536100000000000000b1 Array ( [_id] => 00005b6b536100000000000000b1 [age] => 42 [job] => Butler [name] => Alfred ) 関連キーワード: id Collection ドキュメント getOne mysql xdevapi execute session コレクション addressbook collection ids ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.getone.html
ドキュメントをひとつ取得 8190
« Collection::getName Collection::getSchema » PHP Manual mysql_xdevapi\Collection ドキュメントをひとつ取得 検索 Collection::getOne (No version information available, might only be in Git) Collection::getOne — ドキュメントをひとつ取得 説明 p ... chema ( "addressbook" ); $collection = $schema -> createCollection ( "people" ); $result = $collection -> add ( '{"name": "Alfred", "age": 42, "job": "Butler"}' )-> execute (); // A unique _id is (by default, and recommended) generated by MySQL Server ... // This retrieves the generated _id's; only one in this example, so $ids[0] $ids = $result -> getGeneratedIds (); $alfreds_id = $ids [ 0 ]; // ... print_r ( $alfreds_id ); print_r ( $collection -> getOne ( $alfreds_id )); ?> 上の例の出力は、 た ... なります。 00005b6b536100000000000000b1 Array ( [_id] => 00005b6b536100000000000000b1 [age] => 42 [job] => Butler [name] => Alfred ) 関連キーワード: Collection ドキュメント getOne mysql xdevapi execute session コレクション addressbook collection alfreds ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.getone.html
PREV 1 2 3 4 5 NEXT