MySqlConnector icon indicating copy to clipboard operation
MySqlConnector copied to clipboard

Support restrictions for GetSchema

Open bgrainger opened this issue 8 years ago • 4 comments
trafficstars

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.

bgrainger avatar Oct 22 '17 06:10 bgrainger

Hi @bgrainger! Can I work on this one? and also on #494

dechristo avatar Mar 06 '19 09:03 dechristo

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.

bgrainger avatar Mar 06 '19 14:03 bgrainger

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!

dechristo avatar Mar 07 '19 10:03 dechristo

Hello everybody, we have implemented the restrictions in https://github.com/mysql-net/MySqlConnector/pull/1188

phillipc avatar Jul 05 '22 15:07 phillipc

Implemented in https://github.com/mysql-net/MySqlConnector/pull/1190.

bgrainger avatar Dec 23 '22 18:12 bgrainger