Connector

The connector specifies which database to connect. Each namespace can have zero or one connector. Teo currently supports MySQL, PostgreSQL, SQLite and MongoDB.

Declaring

To connect to a database, specify a provider REFERENCE type and a connection URL.

connector {
  provider: .mysql,
  url: "mysql://127.0.0.1:3306/helloteo"
}

There are examples of how to specify a database URL in the schema reference.