Results of 1 - 10 of about 57 for getTable (0.002 sec.)
- Schema::getTable — スキーマのテーブルを取得する | PHP 8.3 17563
- Schema::getTable (No version information available, might only be in Git) Schema::getTable — スキーマのテーブルを取得する 説明 public function mysql_xdevapi\Schema::getTable ( string $name ): mysql_xdevapi\Table スキーマで与えられたテーブル
... オブジェクトを取得します。 パラメータ name テーブルの名前 戻り値 Table オブジェクトを返します 例 例1 mysql_xdevapi\Schema::getTable() の例 <?php $session = mysql_xdevapi\getSession ( "mysqlx://user:password@localhost" ); $session -> sql ( "DROP DATABASE ... s values ('John', 42), ('Sam', 33)" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "names" ); $row = $table -> select ( 'name' , 'age' )-> execute ()-> fetchAll (); print_r ( $row ); ?> 上の例の出力は、 ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.gettable.html
- Schema クラス | PHP 8.3 9604
- Schema クラス (PECL mysql-xdevapi >= 8.0.11) はじめに クラス概要 class mysql_xdevapi\Schema implements mysql_xdevapi\DatabaseObject { /* プロパティ */ public $ name ; /* メソッド */ public function createCollection ( string $name ): mysql_x
... lections (): array public function getName (): string public function getSession (): mysql_xdevapi\Session public function getTable ( string $name ): mysql_xdevapi\Table public function getTables (): array } プロパティ name 目次 Schema::__construct — Sch ... レクションを取得する Schema::getName — スキーマの名前を取得する Schema::getSession — スキーマのセッションを取得する Schema::getTable — スキーマのテーブルを取得する Schema::getTables — スキーマのテーブルを取得する 他のマニュアルの関連ページ Linux JM cardct ...
-
https://man.mtool.work/php/8.3/class.mysql-xdevapi-schema.html
- Table::__construct — Table のコンストラクタ | PHP 8.3 7783
- Table::__construct (No version information available, might only be in Git) Table::__construct — Table のコンストラクタ 説明 private function mysql_xdevapi\Table::__construct () テーブルオブジェクトを構築します。 パラメータ この関数にはパラ
... \getSession ( "mysqlx://user:password@localhost" ); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "names" ); ?> 他のマニュアルの関連ページ DuckDB Import from Apache Arrow DuckDB Directly Read DuckDB Databases DuckDB De ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-table.construct.html
- Session::close — セッションを閉じる | PHP 8.3 7562
- Session::close (No version information available, might only be in Git) Session::close — セッションを閉じる 説明 public function mysql_xdevapi\Session::close (): bool サーバーとのセッションを閉じます。 パラメータ この関数にはパラメータはあり
... \getSession ( "mysqlx://user:password@localhost" ); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "names" ); $session -> close (); 他のマニュアルの関連ページ Linux JM getsid(2) Linux JM tcgetsid(3) Linux JM setsid(2) F ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-session.close.html
- TableDelete::where — 削除時の検索条件を設定する | PHP 8.3 7562
- TableDelete::where (No version information available, might only be in Git) TableDelete::where — 削除時の検索条件を設定する 説明 public function mysql_xdevapi\TableDelete::where ( string $where_expr ): mysql_xdevapi\TableDelete フィルタのた
... \getSession ( "mysqlx://user:password@localhost" ); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "names" ); $table -> delete () -> where ( "id = :id" ) -> bind ([ 'id' => 42 ]) -> limit ( 1 ) -> execute (); ?> 他のマニ ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-tabledelete.where.html
- TableUpdate::__construct — TableUpdate のコンストラクタ | PHP 8.3 7562
- TableUpdate::__construct (No version information available, might only be in Git) TableUpdate::__construct — TableUpdate のコンストラクタ 説明 private function mysql_xdevapi\TableUpdate::__construct () update() メソッドを使ってインスタンス化
... \getSession ( "mysqlx://user:password@localhost" ); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "names" ); $res = $table -> update () -> set ( 'level' , 3 ) -> where ( 'age > 15 and age < 22' ) -> limit ( 4 ) -> orde ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-tableupdate.construct.html
- TableUpdate::execute — update クエリを実行する | PHP 8.3 7562
- TableUpdate::execute (No version information available, might only be in Git) TableUpdate::execute — update クエリを実行する 説明 public function mysql_xdevapi\TableUpdate::execute (): mysql_xdevapi\TableUpdate update 文を実行します。 パラメ
... \getSession ( "mysqlx://user:password@localhost" ); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "names" ); $res = $table -> update () -> set ( 'level' , 3 ) -> where ( 'age > 15 and age < 22' ) -> limit ( 4 ) -> orde ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-tableupdate.execute.html
- RowResult::__construct — RowResult のコンストラクタ | PHP 8.3 7328
- RowResult::__construct (No version information available, might only be in Git) RowResult::__construct — RowResult のコンストラクタ 説明 private function mysql_xdevapi\RowResult::__construct () データベースへの問い合わせから得られる結果セッ
... \getSession ( "mysqlx://user:password@localhost" ); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "names" ); $row = $table -> select ( 'name' , 'age' )-> where ( 'age > 18' )-> execute ()-> fetchAll (); print_r ( $row ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-rowresult.construct.html
- Table::count — 行の数を取得する | PHP 8.3 7328
- Table::count (No version information available, might only be in Git) Table::count — 行の数を取得する 説明 public function mysql_xdevapi\Table::count (): int テーブルの行数を取得します。 パラメータ この関数にはパラメータはありません。 戻り値
... s values ('John', 42), ('Sam', 33)" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "names" ); var_dump ( $table -> count ()); ?> 上の例の出力は以下となります。 int(2) 他のマニュアルの関連ページ DuckDB Ex ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-table.count.html
- Table::getName — テーブル名を取得する | PHP 8.3 7328
- Table::getName (No version information available, might only be in Git) Table::getName — テーブル名を取得する 説明 public function mysql_xdevapi\Table::getName (): string このデータベースオブジェクトの名前を返します。 パラメータ この関数には
... s values ('John', 42), ('Sam', 33)" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $table = $schema -> getTable ( "names" ); var_dump ( $table -> getName ()); ?> 上の例の出力は、 たとえば以下のようになります。 string(5) "names" 他のマ ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-table.getname.html