MySqlConnector
MySqlConnector copied to clipboard
Support restrictions for GetSchema
The MySqlConnection.GetSchema(string, string[]) overload should support a user-specified list of restrictions on the schema being requested.
GetSchema("Restrictions") should return a DataTable containing all the available restrictions.
Not implemented as part of #361.
Hi @bgrainger! Can I work on this one? and also on #494
Yes. Thanks!
I think the implementation should be fairly straightforward in SchemaProvider.cs, with a little change in MySqlConnection.cs to pass the restrictions through.
Hi @bgrainger ! I opened this PR already because I think it will be easier for you to point my mistakes and also for me to solve my doubts instead of message ping pong.
Thanks for your attention so far!
Hello everybody, we have implemented the restrictions in https://github.com/mysql-net/MySqlConnector/pull/1188
Implemented in https://github.com/mysql-net/MySqlConnector/pull/1190.