[Suggestion] Add a ViewExists method
iulian0512 opened this issue · 3 comments
iulian0512 commented
[Suggestion] Add a ViewExists method
martinjw commented
How would this be different to schemaReader.Views.Any(v => v.Name ==
"X")` ?
iulian0512 commented
your example loads all the views in app memory then loops all until a match is found, whereas viewexists could be a query sent to the db 'select * from info_schema where view_name='myview''
martinjw commented
reader.ViewExists(name) released in 2.7.12