Share via


QuerySqlGenerator.CheckComposableSqlTrimmed(ReadOnlySpan<Char>) Method

Definition

Checks whether a given SQL string is composable, i.e. can be embedded as a subquery within a larger SQL query. The provided sql is already trimmed for whitespace and comments.

protected virtual void CheckComposableSqlTrimmed (ReadOnlySpan<char> sql);
abstract member CheckComposableSqlTrimmed : ReadOnlySpan<char> -> unit
override this.CheckComposableSqlTrimmed : ReadOnlySpan<char> -> unit
Protected Overridable Sub CheckComposableSqlTrimmed (sql As ReadOnlySpan(Of Char))

Parameters

sql
ReadOnlySpan<Char>

An trimmed SQL string to be checked for composability.

Exceptions

The given SQL isn't composable.

Applies to