Package play.db

Interface DBApi

All Known Implementing Classes:
DefaultDBApi

public interface DBApi
DB API for managing application databases.
  • Method Details

    • getDatabases

      List<Database> getDatabases()
      Returns:
      all configured databases.
    • getDatabase

      Database getDatabase(String name)
      Parameters:
      name - the configuration name of the database
      Returns:
      Get database with given configuration name.
    • shutdown

      void shutdown()
      Shutdown all databases, releasing resources.