Class MySQLSchemaQueries
java.lang.Object
com.djrapitops.plan.storage.database.queries.schema.MySQLSchemaQueries
Static method class for MySQL Schema related queries.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a FOREIGN KEY constraint in a MySQL database. -
Method Summary
Modifier and TypeMethodDescriptioncolumnVarcharLength(String table, String column) doesColumnExist(String tableName, String columnName) doesIndexExist(String indexName, String tableName) doesTableExist(String tableName) foreignKeyConstraintsOf(String referencedTable)
-
Method Details
-
getVersion
-
doesTableExist
-
foreignKeyConstraintsOf
public static Query<List<MySQLSchemaQueries.ForeignKeyConstraint>> foreignKeyConstraintsOf(String referencedTable) -
doesIndexExist
-
doesColumnExist
-
columnVarcharLength
-