Pionia Core

Where extends ContractBuilder
in package

Table of Contents

Properties

$where  : array<string|int, mixed>

Methods

and()  : static
build()  : array<string|int, mixed>
or()  : static
where()  : $this
Add and clauses
commented()  : string

Properties

$where

private array<string|int, mixed> $where = []

Methods

and()

public and(array<string|int, mixed> $clauses) : static
Parameters
$clauses : array<string|int, mixed>
Return values
static

build()

public build() : array<string|int, mixed>
Return values
array<string|int, mixed>

or()

public or(array<string|int, mixed> $clauses) : static
Parameters
$clauses : array<string|int, mixed>
Return values
static

where()

Add and clauses

public where(array<string|int, mixed> $where) : $this
Parameters
$where : array<string|int, mixed>
Tags
example
 Where::builder()->where(['name' => 'Pionia', 'type' => 'Framework'])->builder ---- WHERE name = 'Pionia' AND type = 'Framework'
Return values
$this

commented()

private commented(mixed $hook) : string
Parameters
$hook : mixed
Return values
string

        
On this page

Search results