Méthode | Description | |
---|---|---|
belongsTo ( string $related, string $foreignKey = null, string $otherKey = null, string $relation = null ) : |
Define an inverse one-to-one or many relationship. | |
fromDateTime ( DateTime $value ) : string | Retain DateTime format for storage. | |
getQualifiedKeyName ( ) : string | Get the table qualified key name. | |
hasMany ( string $related, string $foreignKey = null, string $localKey = null ) : Illuminate\Database\Eloquent\Relations\HasMany | Define a one-to-many relationship. | |
hasOne ( string $related, string $foreignKey = null, string $localKey = null ) : Illuminate\Database\Eloquent\Relations\HasOne | Define a one-to-one relationship. | |
newEloquentBuilder ( duxet\Rethinkdb\Query\Builder $query ) : duxet\Rethinkdb\Eloquent\Builder | static | Create a new Eloquent query builder for the model. |
Méthode | Description | |
---|---|---|
asDateTime ( DateTime $value ) : DateTime | Ensure Timestamps are returned in DateTime. | |
getDateFormat ( ) : string | Get the format for database stored dates. | |
newBaseQueryBuilder ( ) : Builder | Get a new query builder instance for the connection. | |
originalIsNumericallyEquivalent ( string $key ) : boolean | Determine if the new and old values for a given key are numerically equivalent. |
protected asDateTime ( DateTime $value ) : DateTime | ||
$value | DateTime | |
Résultat | DateTime |
public fromDateTime ( DateTime $value ) : string | ||
$value | DateTime | |
Résultat | string |
protected getDateFormat ( ) : string | ||
Résultat | string |
public getQualifiedKeyName ( ) : string | ||
Résultat | string |
protected newBaseQueryBuilder ( ) : Builder | ||
Résultat | Builder |
public newEloquentBuilder ( duxet\Rethinkdb\Query\Builder $query ) : duxet\Rethinkdb\Eloquent\Builder | static | ||
$query | duxet\Rethinkdb\Query\Builder | |
Résultat | duxet\Rethinkdb\Eloquent\Builder | static |
protected originalIsNumericallyEquivalent ( string $key ) : boolean | ||
$key | string | |
Résultat | boolean |