Skip to main content

AdminForthDataSource

AdminForthDataSource: object

Data source describes database connection which will be used to fetch data for resources. Each resource should use one data source.

Type declaration

id

id: string

ID of datasource which you will use in resources to specify from which database to fetch data from

url

url: string

URL to database. Examples:

  • MongoDB: mongodb://<user>:<password>@<host>:<port>/<database>
  • PostgreSQL: postgresql://<user>:<password>@<host>:<port>/<database>
  • SQLite: sqlite://<path>