MySqlAdapter.exists

Validates whether a row is selected from the query or not.

class MySqlAdapter(TModel)
final override
bool
exists
(
string query
,
DbParam[string] params
,
string connectionString = null
)

Parameters

query string

The sql query.

params DbParam[string]

The parameters.

connectionString string

The connection string. (If null, it will select the default)

Return Value

Type: bool

True if the row exists, false otherwise.

Meta