Interface FColorPostgreSQL
-
Method Summary
Modifier and TypeMethodDescriptionvoidPerforms batch upsert operations for player color configurations.voidinsertFColorsIfAbsent(List<String> names) Inserts color names into the database if they do not already exist.Methods inherited from interface FColorSQL
deleteFColors, deleteFColors, deleteFColors, findFColorIdsByNames, findFColors
-
Method Details
-
insertFColorsIfAbsent
Description copied from interface:FColorSQLInserts color names into the database if they do not already exist.- Specified by:
insertFColorsIfAbsentin interfaceFColorSQL- Parameters:
names- list of color names to insert if absent
-
batchUpsertPlayerFColors
void batchUpsertPlayerFColors(int playerId, List<Integer> numbers, List<Integer> fcolorIds, String type) Description copied from interface:FColorSQLPerforms batch upsert operations for player color configurations. Inserts or updates multiple player color entries in a single operation, associating color numbers with their corresponding color IDs and type.- Specified by:
batchUpsertPlayerFColorsin interfaceFColorSQL- Parameters:
playerId- the unique identifier of the playernumbers- list of color slot numbersfcolorIds- list of color identifiers corresponding to each numbertype- the classification type of the colors
-