public getDefaultValue ()
Returns the default value to make the RBDM use the default value declared in the table definition
1 2 3 4 5 6 | //Inserting a new robot with a valid default value for the column 'year' $success = $connection ->insert( "robots" , array ( "Astro Boy" , $connection ->getDefaultValue()), array ( "name" , "year" ) ); |
Please login to continue.