configure method
Configures component by passing configuration parameters.
config
configuration parameters to be set.
Implementation
@override
void configure(ConfigParams config) {
config = config.setDefaults(MySqlPersistence._defaultConfig);
this._config = config;
this.dependencyResolver_.configure(config);
this.tableName_ = config.getAsNullableString("collection") ?? tableName_;
this.tableName_ = config.getAsNullableString("table") ?? tableName_;
this.schemaName_ = config.getAsNullableString("schema") ?? schemaName_;
this.maxPageSize_ =
config.getAsNullableInteger("options.max_page_size") ?? maxPageSize_;
}