Schema
in package
Class Schema
Manage the entire database. This is useful for destroying or loading the schema.
Table of Contents
Methods
- dropAll() : mixed
- getTables() : array<string|int, mixed>
- setStrict() : mixed
- truncateAll() : Schema
Methods
dropAll()
public
dropAll() : mixed
getTables()
public
getTables(string $type) : array<string|int, mixed>
Parameters
- $type : string
-
'BASE TABLE' or 'VIEW'.
Return values
array<string|int, mixed>setStrict()
public
setStrict(mixed $checks) : mixed
Parameters
- $checks : mixed
truncateAll()
public
truncateAll() : Schema