Results of 1 - 10 of about 311 for Insert (0.002 sec.)
- db2_last_insert_id — この接続上で最後に成功した insert クエリが自動生成した ID ... 9303
- db2_last_insert_id (PECL ibm_db2 >= 1.7.1) db2_last_insert_id — この接続上で最後に成功した insert クエリが自動生成した ID を返す 説明 function db2_last_insert_id ( resource $resource ): ? string この接続上で最後に成功した insert クエリが自動
... 生成した ID を返します。 この関数の結果は、以下のいずれにも影響を受けません。 VALUE 句を使用した単一行の INSERT 文で、ID カラムを指定していないもの VALUE 句を使用した複数行の INSERT 文 全選択からの INSERT 文 ROLLBACK TO SAVEPOINT 文 パ ... このパラメータにはステートメントリソースや結果セットリソースを指定することはできません。 戻り値 この接続上で最後に成功した insert クエリが自動生成した ID を返します。 例 例1 db2_last_insert_id() の例 次の例は、この接続上で最後に成功した insert クエリが ... assword = "ibmdb2" ; $conn = db2_connect ( $database , $user , $password ); if( $conn ) { $createTable = "CREATE TABLE lastInsertID (id integer GENERATED BY DEFAULT AS IDENTITY, name varchar(20))" ; $insertTable = "INSERT INTO lastInsertID (name) VALUE ...
-
https://man.mtool.work/php/8.3/function.db2-last-insert-id.html
- mysqli::$insert_id — 直近のクエリの AUTO_INCREMENT カラムで生成した値を返す | P... 9135
- mysqli::$insert_id mysqli_insert_id (PHP 5, PHP 7, PHP 8) mysqli::$insert_id -- mysqli_insert_id — 直近のクエリの AUTO_INCREMENT カラムで生成した値を返す 説明 オブジェクト指向型 int | string $mysqli->insert_id ; 手続き型 function mysqli_insert
... ert_id ( mysqli $mysql ): int | string AUTO_INCREMENT 属性を持つカラムがあるテーブル上での INSERT や UPDATE クエリが生成したIDを返します。 INSERT 文が複数の行を変更する場合、 最初に自動生成された値を返します。 MySQL 関数 ... LAST_INSERT_ID() を使って INSERT や UPDATE を実行すると、 mysqli_insert_id() が返す値も変更されます。 AUTO_INCREMENT の値を生成するため ... に LAST_INSERT_ID(expr) を使った場合、 生成された AUTO_INCREMENT の値ではなく、 最後の expr の値を返します。 直前のクエリが AUTO_INCREMEN ...
-
https://man.mtool.work/php/8.3/mysqli.insert-id.html
- Ds\Vector::insert — Inserts values at a given index | PHP 8.3 9098
- Ds\Vector::insert (PECL ds >= 1.0.0) Ds\Vector::insert — Inserts values at a given index 説明 public function Ds\Vector::insert ( int $index , mixed ...$values ): void Inserts values into the vector at a given index. パラメータ index The in
... dex at which to insert. 0 <= index <= count 注意 : You can insert at the index equal to the number of values. values The value or values to inser ... t. 戻り値 値を返しません。 エラー / 例外 OutOfRangeException if the index is not valid. 例 例1 Ds\Vector::insert() example <?php $vector = new \Ds\Vector (); $vector -> insert ( 0 , "e" ); // [e] $vector -> insert ( 1 , "f" ); // [e, f ... ] $vector -> insert ( 2 , "g" ); // [e, f, g] $vector -> insert ( 0 , "a" , "b" ); // [a, b, e, f, g] $vector -> insert ( 2 , ...[ "c" , "d" ] ...
-
https://man.mtool.work/php/8.3/ds-vector.insert.html
- Ds\Deque::insert — Inserts values at a given index | PHP 8.3 9013
- Ds\Deque::insert (PECL ds >= 1.0.0) Ds\Deque::insert — Inserts values at a given index 説明 public function Ds\Deque::insert ( int $index , mixed ...$values ): void Inserts values into the deque at a given index. パラメータ index The index
... at which to insert. 0 <= index <= count 注意 : You can insert at the index equal to the number of values. values The value or values to inser ... t. 戻り値 値を返しません。 エラー / 例外 OutOfRangeException if the index is not valid. 例 例1 Ds\Deque::insert() example <?php $deque = new \Ds\Deque (); $deque -> insert ( 0 , "e" ); // [e] $deque -> insert ( 1 , "f" ); // [e, f] $d ... eque -> insert ( 2 , "g" ); // [e, f, g] $deque -> insert ( 0 , "a" , "b" ); // [a, b, e, f, g] $deque -> insert ( 2 , ...[ "c" , "d" ]); ...
-
https://man.mtool.work/php/8.3/ds-deque.insert.html
- Ds\Sequence::insert — Inserts values at a given index | PHP 8.3 9013
- Ds\Sequence::insert (PECL ds >= 1.0.0) Ds\Sequence::insert — Inserts values at a given index 説明 abstract public function Ds\Sequence::insert ( int $index , mixed ...$values ): void Inserts values into the sequence at a given index. パラメ
... ータ index The index at which to insert. 0 <= index <= count 注意 : You can insert at the index equal to the number of values. values The value or values to inser ... t. 戻り値 値を返しません。 エラー / 例外 OutOfRangeException if the index is not valid. 例 例1 Ds\Sequence::insert() example <?php $sequence = new \Ds\Vector (); $sequence -> insert ( 0 , "e" ); // [e] $sequence -> insert ( 1 , "f" ); // ... [e, f] $sequence -> insert ( 2 , "g" ); // [e, f, g] $sequence -> insert ( 0 , "a" , "b" ); // [a, b, e, f, g] $sequence -> insert ( 2 , ...[ "c" , " ...
-
https://man.mtool.work/php/8.3/ds-sequence.insert.html
- MongoDB\Driver\BulkWrite::insert — Add an insert operation to the bulk | PHP 8.... 8817
- MongoDB\Driver\BulkWrite::insert (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::insert — Add an insert operation to the bulk 説明 public function MongoDB\Driver\BulkWrite::insert ( array | object $document ): mixed Adds an insert operation to
... the MongoDB\Driver\BulkWrite . パラメータ document ( array | object ) A document to insert. 戻り値 Returns the _id of the inserted document. If the document did not have an _id , the MongoDB\BSON\ObjectId generate ... d for the insert will be returned. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 変更履 ... 歴 バージョン 説明 PECL mongodb 1.3.0 The _id of the inserted document is always returned. Previously, the method only returned a value if a MongoDB\BSON\ObjectId was generated. 例 例 ...
-
https://man.mtool.work/php/8.3/mongodb-driver-bulkwrite.insert.html
- cubrid_seq_insert — Insert an element to a sequence type column using OID | PHP... 8658
- cubrid_seq_insert (PECL CUBRID >= 8.3.0) cubrid_seq_insert — Insert an element to a sequence type column using OID 説明 function cubrid_seq_insert ( resource $conn_identifier , string $oid , string $attr_name , int $index , string $seq_elem
... ent ): bool The cubrid_seq_insert() function is used to insert an element to a sequence type attribute in a requested location. パラメータ conn_identifier C ... onnection identifier. oid OID of the instance you want to work with. attr_name Name of the attribute you want to insert an instance to. index Location of the element, you want to insert the element to (1-based). seq_element Content of the ele ... ment that you want to insert. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 cubrid_seq_insert() example <?php $conn = cubrid_ ...
-
https://man.mtool.work/php/8.3/function.cubrid-seq-insert.html
- mysql_insert_id — 直近のクエリで生成された ID を得る | PHP 8.3 8332
- mysql_insert_id (PHP 4, PHP 5) mysql_insert_id — 直近のクエリで生成された ID を得る 警告 この拡張モジュールは PHP 5.5.0 で非推奨になり、PHP 7.0.0 で削除されました。 MySQLi あるいは PDO_MySQL を使うべきです。詳細な情報は MySQL: API の選択 を
... 参照ください。 この関数の代替として、これらが使えます。 mysqli_insert_id() PDO::lastInsertId() 説明 function mysql_insert_id ( resource $link_identifier = NULL ): int 直近のクエリ (通常は INSE ... リが AUTO_INCREMENT な値を生成しなかった 場合に 0 、MySQL 接続が確立されていなかった 場合に false を返します。 例 例1 mysql_insert_id() の例 <?php $link = mysql_connect ( 'localhost' , 'mysql_user' , 'mysql_password' ); if (! $link ) { die( 'Could not c ... onnect: ' . mysql_error ()); } mysql_select_db ( 'mydb' ); mysql_query ( "INSERT INTO mytable (product) values ('kossu')" ); printf ( "最後に挿入されたレコードの ID は、%d\n" , mysql_insert_id ()); ?> 注 ...
-
https://man.mtool.work/php/8.3/function.mysql-insert-id.html
- MongoDB\Driver\WriteResult::getWriteErrors — Returns any write errors that occu... 7977
- MongoDB\Driver\WriteResult::getWriteErrors (mongodb >=1.0.0) MongoDB\Driver\WriteResult::getWriteErrors — Returns any write errors that occurred 説明 final public function MongoDB\Driver\WriteResult::getWriteErrors (): array パラメータ この
... uted serially in order and * execution will stop after the first error. */ $bulk = new MongoDB\Driver\BulkWrite ; $bulk -> insert ([ '_id' => 1 ]); $bulk -> insert ([ '_id' => 2 ]); $bulk -> insert ([ '_id' => 2 ]); $bulk -> insert ([ '_id' => 3 ]); $b ... ulk -> insert ([ '_id' => 4 ]); $bulk -> insert ([ '_id' => 4 ]); try { $result = $manager -> executeBulkWrite ( 'db.collection' , $bulk ... executing after the first error is encountered. */ $bulk = new MongoDB\Driver\BulkWrite ([ 'ordered' => false ]); $bulk -> insert ([ '_id' => 1 ]); $bulk -> insert ([ '_id' => 2 ]); $bulk -> insert ([ '_id' => 2 ]); $bulk -> insert ([ '_id' => 3 ]); $b ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeresult.getwriteerrors.html
- mysqli_stmt::$insert_id — 直近の INSERT 操作で生成した ID を取得する | PHP 8.3 7930
- mysqli_stmt::$insert_id mysqli_stmt_insert_id (PHP 5, PHP 7, PHP 8) mysqli_stmt::$insert_id -- mysqli_stmt_insert_id — 直近の INSERT 操作で生成した ID を取得する 説明 オブジェクト指向型 int | string $mysqli_stmt->insert_id ; 手続き型 functi
... on mysqli_stmt_insert_id ( mysqli_stmt $statement ): int | string 警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述さ ...
-
https://man.mtool.work/php/8.3/mysqli-stmt.insert-id.html