src/Loaders/ExcludePrimaryKeyColumnNameLoader.php
/**
     * Loads and returns data.
     *
     * @param string $tableName The table name to return the list for
     *
     * @return \ArrayAccess The array with the data
     */
Loads and returns data.
@param string $tableName The table name to return the list for

@return \ArrayAccess The array with the data
Loads and returns data . @param string $tableName The table name to return the list for @return \ ArrayAccess The array with the data
public function load($tableName = null)
    {
        $columns = $this->columnMetadataLoader->load($tableName);
        return array_keys(array_filter($columns, function ($value) {
            return !($value['Key'] === 'PRI' && $value['Extra'] === 'auto_increment');
        }));
    }
public function load ( $ tableName = null ) { $ columns = $ this -> columnMetadataLoader -> load ( $ tableName ) ; return array_keys ( array_filter ( $ columns , function ( $ value ) { return ! ( $ value [ 'Key' ] === 'PRI' && $ value [ 'Extra' ] === 'auto_increment' ) ; } ) ) ; }
Loads and returns data.
Loads and returns data .
// load the raw column metadata // exclude the primary key columns and return the column names only