Table
class Table implements SchemaObject (View source)
Class Table
Properties
$name |
Methods
Fetch the number of rows in the table.
Deletes rows from a table.
Verifies if this table exists in the database.
Returns the name of this database object.
Get session associated with the table.
Inserts rows into a table.
Determine if the underlying object is a view or not.
Fetches data from a table.
Updates columns in a table.
Details
int
count()
Fetch the number of rows in the table.
TableDelete
delete()
Deletes rows from a table.
bool
existsInDatabase()
Verifies if this table exists in the database.
string
getName()
Returns the name of this database object.
Schema
getSchema()
Fetch the schema associated with the table.
Session
getSession()
Get session associated with the table.
TableInsert
insert(string|string[] $columns, string|string[] ...$additionalColumns)
Inserts rows into a table.
bool
isView()
Determine if the underlying object is a view or not.
TableSelect
select(string|string[] $columns, string|string[] ...$additionalColumns)
Fetches data from a table.
TableUpdate
update()
Updates columns in a table.