UserExistScope
extends BaseScope
in package
Class BoundsScope.
Table of Contents
Properties
Methods
- apply() : mixed
- applyQueryBuilder() : void
- getAlias() : string
- getOnFields() : array<string|int, string>
- likeOperator() : string
- return the case-insensitive LIKE operator bases on the current database driver.
- setAlias() : self
- setOnFields() : self
- alias() : string
Properties
$alias
protected
string
$alias
= 'ue'
$onFields
protected
array<string|int, mixed>
$onFields
= []
Methods
apply()
public
apply(Builder $builder, Model $model) : mixed
Parameters
- $builder : Builder
- $model : Model
applyQueryBuilder()
public
applyQueryBuilder(Builder $builder) : void
Parameters
- $builder : Builder
getAlias()
public
getAlias() : string
Return values
stringgetOnFields()
public
getOnFields() : array<string|int, string>
Return values
array<string|int, string>likeOperator()
return the case-insensitive LIKE operator bases on the current database driver.
public
likeOperator() : string
Return values
stringsetAlias()
public
setAlias(string $alias) : self
Parameters
- $alias : string
Return values
selfsetOnFields()
public
setOnFields(array<string|int, mixed>|string $onFields) : self
Parameters
- $onFields : array<string|int, mixed>|string
Return values
selfalias()
protected
alias(string $table, string $column) : string
Parameters
- $table : string
- $column : string