« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 111 for createCollection (0.002 sec.)
スキーマにコレクションを追加する 12302
« Schema::__construct Schema::dropCollection » PHP Manual mysql_xdevapi\Schema スキーマにコレクションを追加する 検索 Schema::createCollection (No version information available, might only be in Git) Schema::createCollection — スキーマにコレ ... クションを追加する 説明 public function mysql_xdevapi\Schema::createCollection ( string $name ): mysql_xdevapi\Collection スキーマ内にコレクションを作成します。 警告 この関数は、 現在のところ詳細な情報 ... ェクトを返します。 変更履歴 バージョン 説明 8.0.20 オプションの validate 引数が追加されました。 例 例1 mysql_xdevapi\Schema::createCollection() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( "DROP DATABASE ... ( "CREATE TABLE food.fruit(name text, rating text)" )-> execute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); print_r ( $schema -> gettables ()); print_r ( $schema -> getcollections ()); 上の例の出力は、 たとえば以下のよ ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.createcollection.html
スキーマにコレクションを追加する 12302
« Schema::__construct Schema::dropCollection » PHP Manual mysql_xdevapi\Schema スキーマにコレクションを追加する 検索 Schema::createCollection (No version information available, might only be in Git) Schema::createCollection — スキーマにコレ ... クションを追加する 説明 public function mysql_xdevapi\Schema::createCollection ( string $name ): mysql_xdevapi\Collection スキーマ内にコレクションを作成します。 警告 この関数は、 現在のところ詳細な情報 ... ェクトを返します。 変更履歴 バージョン 説明 8.0.20 オプションの validate 引数が追加されました。 例 例1 mysql_xdevapi\Schema::createCollection() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( "DROP DATABASE ... ( "CREATE TABLE food.fruit(name text, rating text)" )-> execute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); print_r ( $schema -> gettables ()); print_r ( $schema -> getcollections ()); 上の例の出力は、 たとえば以下のよ ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.createcollection.html
The MongoDB\Driver\Command class 11707
« MongoDB\Driver\Manager::startSession MongoDB\Driver\Command::__construct » PHP Manual MongoDB\Driver The MongoDB\Driver\Command class 検索 The MongoDB\Driver\Command class (mongodb >=1.0.0) はじめに The MongoDB\Driver\Command class is a v ... ray | object $document , ? array $commandOptions = null ) } 例 例1 Composing MongoDB\Driver\Command to provide a helper to create collections <?php class CreateCollection { protected $cmd = array(); function __construct ( $collectionName ) { $this -> cmd [ "crea ... ionName () { return $this -> cmd [ "create" ]; } } $manager = new MongoDB\Driver\Manager ( "mongodb://localhost:27017" ); $createCollection = new CreateCollection ( "cappedCollection" ); $createCollection -> setCappedCollection ( 64 * 1024 ); try { $command = $c ... databaseName" , $command ); $response = $cursor -> toArray ()[ 0 ]; var_dump ( $response ); $collstats = [ "collstats" => $createCollection -> getCollectionName ()]; $cursor = $manager -> executeCommand ( "databaseName" , new MongoDB\Driver\Command ( $collstats ...
https://man.mtool.work/php/8.3/class.mongodb-driver-command.html
The MongoDB\Driver\Command class 10820
« MongoDB\Driver\Manager::startSession MongoDB\Driver\Command::__construct » PHP Manual MongoDB\Driver The MongoDB\Driver\Command class 検索 The MongoDB\Driver\Command class (mongodb >=1.0.0) はじめに The MongoDB\Driver\Command class is a v ... ray | object $document , ? array $commandOptions = null ) } 例 例1 Composing MongoDB\Driver\Command to provide a helper to create collections <?php class CreateCollection { protected $cmd = array(); function __construct ( $collectionName ) { $this -> cmd [ "crea ... ionName () { return $this -> cmd [ "create" ]; } } $manager = new MongoDB\Driver\Manager ( "mongodb://localhost:27017" ); $createCollection = new CreateCollection ( "cappedCollection" ); $createCollection -> setCappedCollection ( 64 * 1024 ); try { $command = $c ... databaseName" , $command ); $response = $cursor -> toArray ()[ 0 ]; var_dump ( $response ); $collstats = [ "collstats" => $createCollection -> getCollectionName ()]; $cursor = $manager -> executeCommand ( "databaseName" , new MongoDB\Driver\Command ( $collstats ...
https://man.mtool.work/php/8.3/class.mongodb-driver-command.html
スキーマからコレクションを削除する 9451
« Schema::createCollection Schema::existsInDatabase » PHP Manual mysql_xdevapi\Schema スキーマからコレクションを削除する 検索 Schema::dropCollection (No version information available, might only be in Git) Schema::dropCollection — スキーマか ... ( "CREATE TABLE food.fruit(name text, rating text)" )-> execute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); $schema -> dropCollection ( "trees" ); $schema -> createCollection ( "buildings" ); print_r ( $schema -> gett ... [name] => buildings ) ) 関連キーワード: Schema mysql xdevapi schema dropCollection name session food スキーマ コレクション createCollection sql execute fruit buildings collection text trees print Array ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.dropcollection.html
スキーマからコレクションを削除する 9350
« Schema::createCollection Schema::existsInDatabase » PHP Manual mysql_xdevapi\Schema スキーマからコレクションを削除する 検索 Schema::dropCollection (No version information available, might only be in Git) Schema::dropCollection — スキーマか ... ( "CREATE TABLE food.fruit(name text, rating text)" )-> execute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); $schema -> dropCollection ( "trees" ); $schema -> createCollection ( "buildings" ); print_r ( $schema -> gett ... ct ( [name] => buildings ) ) 関連キーワード: Schema mysql xdevapi schema dropCollection session food スキーマ コレクション createCollection execute fruit buildings collection text trees print existsInDatabase information available 詳細 記述 getSession mysqlx use ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.dropcollection.html
Schema のコンストラクタ 8375
« mysql_xdevapi\Schema Schema::createCollection » PHP Manual mysql_xdevapi\Schema Schema のコンストラクタ 検索 Schema::__construct (No version information available, might only be in Git) Schema::__construct — Schema のコンストラクタ 説明 p ... ( "CREATE TABLE food.fruit(name text, rating text)" )-> execute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); print_r ( $schema -> gettables ()); print_r ( $schema -> getcollections ()); 上の例の出力は、 たとえば以下のよ ... > trees ) ) 関連キーワード: Schema mysql xdevapi session construct food schema コンストラクタ sql execute fruit name trees createCollection スキーマ パラメータ text print Array Object ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.construct.html
Schema のコンストラクタ 8375
« mysql_xdevapi\Schema Schema::createCollection » PHP Manual mysql_xdevapi\Schema Schema のコンストラクタ 検索 Schema::__construct (No version information available, might only be in Git) Schema::__construct — Schema のコンストラクタ 説明 p ... ( "CREATE TABLE food.fruit(name text, rating text)" )-> execute (); $schema = $session -> getSchema ( "food" ); $schema -> createCollection ( "trees" ); print_r ( $schema -> gettables ()); print_r ( $schema -> getcollections ()); 上の例の出力は、 たとえば以下のよ ... [name] => trees ) ) 関連キーワード: Schema mysql xdevapi session construct food schema コンストラクタ execute fruit trees createCollection スキーマ text print information available private データベース 提供 getSession mysqlx user password localhost ...
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.construct.html
Schema クラス 8184
« 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 $ name ; /* メソッド */ public function createCollection ( string $name ): mysql_xdevapi\Collection public function dropCollection ( string $collection_name ): bool public functio ... api\Table public function getTables (): array } プロパティ name 目次 Schema::__construct — Schema のコンストラクタ Schema::createCollection — スキーマにコレクションを追加する Schema::dropCollection — スキーマからコレクションを削除する Schema::existsInDatabase — ... 得する 関連キーワード: Schema function xdevapi mysql スキーマ name string コレクション クラス テーブル construct プロパティ createCollection Collection dropCollection bool existsInDatabase getCollection getCollectionAsTable Table ...
https://man.mtool.work/php/8.3/class.mysql-xdevapi-schema.html
Schema クラス 8184
« 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 $ name ; /* メソッド */ public function createCollection ( string $name ): mysql_xdevapi\Collection public function dropCollection ( string $collection_name ): bool public functio ... api\Table public function getTables (): array } プロパティ name 目次 Schema::__construct — Schema のコンストラクタ Schema::createCollection — スキーマにコレクションを追加する Schema::dropCollection — スキーマからコレクションを削除する Schema::existsInDatabase — ... es — スキーマのテーブルを取得する 関連キーワード: Schema xdevapi mysql スキーマ コレクション テーブル construct プロパティ createCollection Collection dropCollection existsInDatabase getCollection getCollectionAsTable Table getCollections getName getSession getT ...
https://man.mtool.work/php/8.3/class.mysql-xdevapi-schema.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT