@SuppressWarnings("serial") public class Database
Defines the database name, character set and collate.
| Type | Name and description |
|---|---|
String |
getCharacterSet()Returns the default character set for the database. |
String |
getCollate()Returns the default collate set for the database. |
String |
getName()Returns the name of the database. |
List<URI> |
getScriptImportings()Returns the script resources to import into the database. |
Object |
methodMissing(String name, Object args) |
String |
toString() |
Returns the default character set for the database.
database {
database "postfixdb", charset: "latin1"
}
null.Returns the default collate set for the database.
database {
database "postfixdb", collate: "latin1_swedish_ci"
}
null.Returns the name of the database.
database {
database "postfixdb"
}
Returns the script resources to import into the database.
database {
database "postfixdb", {
script importing: "postfixtables.sql"
script importing: "postfixtables.sql.gz"
}
}