As one of the outputs for YGOJSON we can include some DB-integration. For that, we can generate either:
SQL-scripts for each version of the data (this might include different dialects, for example postgres, mysql, H2, sqlite, etc). For this, we can use FastName as a library to simplify the generation of those scripts.
A full disk DB with the version of the data (i.e., H2/SQLite file - better the later for portability). In this case, we can pre-build the DB with either the previously generated scripts, or directly with the YGOJSON tools quarkus application by providing file-based datasources.
Both options should be considered to be sure that we are flexible enough, but this might explode in complexity as much more deliveries are included in the library.
As one of the outputs for YGOJSON we can include some DB-integration. For that, we can generate either:
Both options should be considered to be sure that we are flexible enough, but this might explode in complexity as much more deliveries are included in the library.