43 [[nodiscard]]
bool Matches(std::string_view schema, std::string_view tableName)
const;
46 [[nodiscard]]
bool MatchesAll() const noexcept {
return _matchesAll; }
49 [[nodiscard]]
size_t PatternCount() const noexcept {
return _patterns.size(); }
54 std::optional<std::string> schema;
58 std::vector<Pattern> _patterns;
59 bool _matchesAll =
true;
66 static bool GlobMatch(std::string_view pattern, std::string_view text);