- Kotlin Blueprints
- Ashish Belagali Hardik Trivedi Akshay Chordiya
- 31字
- 2021-07-02 21:50:14
Connecting to the database
We can connect to the database with Exposed by passing the URL of the database and its driver:
// Connect to the database
Database.connect("jdbc:h2:mem:test", driver = "org.h2.Driver")