com\setasign\SetaFramework\Database\Table

Select Class Table Select

File: /SetaFramework/src/Database/Table/Select.php

Class hierarchy

Implements

Summary

Properties


Methods

__construct()

public Select::__construct (
Table $table
)

Constructor

Parameters
$table : Table
 

__call()

public Select::__call (
string $name,
array $arguments
): $this

Proxy method to the Table object

Parameters
$name : string
 
$arguments : array
 
Exceptions

Throws \BadMethodCallException

__clone()

public Select::__clone (
void
): void

fetchAsRow()

public Select::fetchAsRow (
bool $onlyFirst = false
): \Generator
Parameters
$onlyFirst : bool
 
Exceptions

Throws \com\setasign\SetaFramework\Exception

fetchFirstRow()

getAsStatement()

getSql()

Returns the complete sql for the query.

Parameters
$quoteInterface : \com\setasign\SetaFramework\Database\QuoteInterface