PHP Class Yajra\Oci8\Schema\Comment

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

Protected Properties

Свойство Type Description
$connection Illuminate\Database\Connection

Méthodes publiques

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

Méthodes protégées

Méthode Description
wrapValue ( string $value ) : string Wrap reserved words.

Private Methods

Méthode 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 méthode

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

setComments() public méthode

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

wrapValue() protected méthode

Wrap reserved words.
protected wrapValue ( string $value ) : string
$value string
Résultat string

Property Details

$connection protected_oe property

protected Connection,Illuminate\Database $connection
Résultat Illuminate\Database\Connection