public getDefaultIdValue ()
Returns the default identity value to be inserted in an identity column
1 2 3 4 5 6 | //Inserting a new robot with a valid default value for the column 'id' $success = $connection ->insert( "robots" , array ( $connection ->getDefaultIdValue(), "Astro Boy" , 1952), array ( "id" , "name" , "year" ) ); |
Please login to continue.