Query
final class Query implements IteratorAggregate, Countable
Methods
No description
Same as construct if you want to setup other property g.g connection before generating data
Switching connection
Output
No description
No description
No description
No description
No description
No description
No description
If Object inside json_encode
Export data to Array
No description
Extract object to string as json format
Review all data before generate by this library
Details
at line 100
__construct(string $sql = '', array $params = [], array $options = [])
No description
at line 116
Query
prepare(string $sql = '', array $params = [], array $options = [])
Same as construct if you want to setup other property g.g connection before generating data
at line 140
Query
setConnection(string $connectionName)
Switching connection
at line 152
void
setDefaultOutput(int $output)
Output
at line 177
first()
No description
at line 182
last()
No description
at line 188
bool
isAffected()
No description
at line 193
run()
No description
at line 206
int
lastInsertId()
No description
at line 222
ArrayIterator
getIterator()
No description
at line 231
int
count()
No description
at line 242
array
jsonSerialize()
If Object inside json_encode
at line 253
array
toArray()
Export data to Array
at line 259
getError()
No description
at line 269
string
__toString()
Extract object to string as json format
at line 280
void
dump()
Review all data before generate by this library