Uses of Class
wbs.utils.util.database.WbsRecord
Packages that use WbsRecord
Package
Description
A variety of database utilities, primarily making use of SQLite, with some utils for generic games.
-
Uses of WbsRecord in wbs.utils.util.database
Methods in wbs.utils.util.database that return WbsRecordModifier and TypeMethodDescriptionprotected @Nullable WbsRecordOverrideable field for selecting from the database.RecordProducer.toRecord()Methods in wbs.utils.util.database that return types with arguments of type WbsRecordModifier and TypeMethodDescriptionWbsDatabase.select(PreparedStatement query) Runs a query directly, auto-closing the connection used and returning a list of WbsRecords from the results of the query.WbsTable.selectOnField(@NotNull WbsField field, @Nullable Object match) WbsTable.selectOnField(@NotNull WbsField field, @Nullable Object match, @Nullable CollateFunction collate) WbsTable.selectOnFields(Collection<WbsField> fields, Collection<?> matches) Methods in wbs.utils.util.database with parameters of type WbsRecordModifier and TypeMethodDescriptionprotected abstract TAbstractDataManager.fromRecord(@NotNull WbsRecord record) Create an object based on the record representing it.booleanWbsTable.update(WbsRecord record, Connection connection, String whereClause) Performs an update using a single record for the fields, using the given where clause.Method parameters in wbs.utils.util.database with type arguments of type WbsRecordModifier and TypeMethodDescriptionbooleanInserts the given map of objects.booleanWbsTable.insert(List<WbsRecord> records, Connection connection) booleanbooleanUpdates the given list of records using the provided whereClause.booleanWbsTable.update(List<WbsRecord> records, Connection connection, String whereClause) Updates the given list of records using the provided whereClause.booleanInserts the given map of objects.