Package io.github.torand.fastersql.model
Class Table
java.lang.Object
io.github.torand.fastersql.model.Table
- Direct Known Subclasses:
TableModel
Represents a database table.
-
Constructor Details
-
Table
Creates a representation of a database table.- Parameters:
name- the table name.
-
Table
Creates a representation of a database table.- Parameters:
name- the table name.alias- the table alias.
-
-
Method Details
-
name
Gets the table name.- Returns:
- the table name.
-
sql
Description copied from interface:SqlFormats object as an SQL fragment. -
params
Description copied from interface:SqlGets the statement parameters introduced by this fragment. -
as
Description copied from interface:RelationSpecifies the table alias name of this relation. -
alias
Description copied from interface:RelationGets the table alias specified for this relation.
-