connectionProperties property

  1. @override
Map<String, String> get connectionProperties
override

The properties that point an application at the started container, such as spring.datasource.url. Read after the container started: the values hold its host and mapped ports.

Implementation

@override
Map<String, String> get connectionProperties => {
  'spring.datasource.url': jdbcUrl,
  'spring.datasource.username': _username,
  'spring.datasource.password': _password,
};