Click or drag to resize

DatabaseDBExists Method (String, String, DataFuncOptions, String)

Determines if a particular record exists. For better performance and clarity, use this instead of DBCount(String, String, String, DataFuncOptions, String) to determine if a record or records exist.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public bool DBExists(
	string table,
	string where,
	DataFuncOptions options,
	string logSource
)

Parameters

table
Type: SystemString
The table in which to query.
where
Type: SystemString
The WHERE clause (without the WHERE) identifing item(s) of interest.
options
Type: NetQuarryDataFuncOptions
Options specifying how the query should be performed.
logSource
Type: SystemString
The source of the operation, to be logged to the devlog.

Return Value

Type: Boolean
True if one or more matching records exists, else False.

Implements

IDatabaseDBExists(String, String, DataFuncOptions, String)
See Also