PHP Class Yajra\Oci8\Schema\Comment

Inheritance: extends Illuminate\Database\Schema\Grammars\Grammar, use trait Yajra\Oci8\OracleReservedWords
Show file Open project: yajra/laravel-oci8 Class Usage Examples

Protected Properties

Property Type Description
$connection Illuminate\Database\Connection

Public Methods

Method Description
__construct ( Connection $connection )
setComments ( OracleBlueprint $blueprint ) Set table and column comments.

Protected Methods

Method Description
wrapValue ( string $value ) : string Wrap reserved words.

Private Methods

Method Description
commentColumn ( string $table, string $column, string $comment ) Run the comment on column statement
commentColumns ( OracleBlueprint $blueprint ) Add comments on columns.
commentTable ( OracleBlueprint $blueprint ) Run the comment on table statement.
fluentComments ( OracleBlueprint $blueprint ) Add comments set via fluent setter.

Method Details

__construct() public method

public __construct ( Connection $connection )
$connection Illuminate\Database\Connection

setComments() public method

Set table and column comments.
public setComments ( OracleBlueprint $blueprint )
$blueprint OracleBlueprint

wrapValue() protected method

Wrap reserved words.
protected wrapValue ( string $value ) : string
$value string
return string

Property Details

$connection protected property

protected Connection,Illuminate\Database $connection
return Illuminate\Database\Connection