Interface VersionSQL

All Superinterfaces:
SQL
All Known Subinterfaces:
VersionH2, VersionMariaDB, VersionMySQL, VersionPostgreSQL, VersionSQLite

public interface VersionSQL extends SQL
SQL interface for version Database in FlectonePulse.
Since:
1.6.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Finds the stored version name.
    default void
    upsert(String name)
    Inserts or updates the version name.
  • Method Details

    • find

      Optional<String> find()
      Finds the stored version name.
      Returns:
      optional containing the version name if found
    • upsert

      default void upsert(String name)
      Inserts or updates the version name.
      Parameters:
      name - the version name to persist
      Throws:
      UnsupportedDatabaseOperationException - if not overridden