src/Model.php
public static function post(
        $attributes,
        $return = \Phramework\Database\Operations\Create::RETURN_ID
    ) {
        return \Phramework\Database\Operations\Create::create(
            $attributes,
            static::getTable(),
            static::getSchema(),
            $return
        );
    }
public static function post(
        $attributes,
        $return = \Phramework\Database\Operations\Create::RETURN_ID
    ) {
        return \Phramework\Database\Operations\Create::create(
            $attributes,
            static::getTable(),
            static::getSchema(),
            $return
        );
    }
public static function post ( $ attributes , $ return = \ Phramework \ Database \ Operations \ Create :: RETURN_ID ) { return \ Phramework \ Database \ Operations \ Create :: create ( $ attributes , static :: getTable ( ) , static :: getSchema ( ) , $ return ) ; }
Create a record in database
@param  array $attributes
@param  \Phramework\Database\Operations\Create::RETURN_ID $return Return type,
default is RETURN_ID
@return mixed
@todo disable post ?
Create a record in database