18 using std::runtime_error::runtime_error;
24std::string_view
trimRight(std::string_view text);
29std::string_view
trim(std::string_view text);
34std::string
toUpper(std::string_view text);
51bool matchesLike(std::string_view text, std::string_view pattern);
56std::optional<long long>
parseInteger(std::string_view text);
std::optional< long long > parseInteger(std::string_view text)
Parses a whole string as a base-10 integer.
std::string toUpper(std::string_view text)
Converts ASCII letters to upper case.
std::string_view trimRight(std::string_view text)
Removes trailing spaces, tabs and line ends.
bool matchesLike(std::string_view text, std::string_view pattern)
Matches text against an SQL LIKE pattern, ignoring the case of ASCII letters.
bool equalsIgnoreCase(std::string_view a, std::string_view b)
Compares two strings, ignoring the case of ASCII letters.
std::string_view trim(std::string_view text)
Removes leading and trailing spaces, tabs and line ends.
A problem with one statement: bad syntax, unknown table, value too long...