public static function insertIgnore(array $attributes = [])
    {
        $model = new static();
        $driver = $model->GetConnection()->GetDriverName();
        switch ($driver) {
            case 'sqlite':
                return static::executeQuery('insert or ignore', $attributes);
                break;
            default:
                return static::executeQuery('insert ignore', $attributes);
                break;
        }
    }
public static function insertIgnore(array $attributes = [])
    {
        $model = new static();
        $driver = $model->GetConnection()->GetDriverName();
        switch ($driver) {
            case 'sqlite':
                return static::executeQuery('insert or ignore', $attributes);
                break;
            default:
                return static::executeQuery('insert ignore', $attributes);
                break;
        }
    }
public static function insertIgnore ( array $ attributes = [ ] ) { $ model = new static ( ) ; $ driver = $ model -> GetConnection ( ) -> GetDriverName ( ) ; switch ( $ driver ) { case 'sqlite' : return static :: executeQuery ( 'insert or ignore' , $ attributes ) ; break ; default : return static :: executeQuery ( 'insert ignore' , $ attributes ) ; break ; } }
performs an 'insert ignore' query with the data
@param  array  $attributes
@return bool   t/f for success/failure
performs an insert ignore query with the data