← Back to carmenta.com
Carmenta Engine SDK Documentation
×

DatabaseQuery.Filter Property

Gets or sets a filter condition.

Thread safety: This property is not thread-safe. Show

Syntax

C#
public AttributeVariable< System.String > Filter { get; set; }

Property Value

Type: An attribute variable that returns a value of type String (not available in C#).
Default: ""
A filter condition using a SQL WHERE clause.

Remarks

The filter is appended to the SQL SELECT statement used to fetch features from the database. The same syntax as when using the SelectStatement can be used.

Example of how the filter property can be used
:keyColumn >= 10

will filter out features with an ID lower than 10.

Platforms

Windows, Linux, Android

By accessing the information on this site you accept our terms and conditions and privacy policy.
This site uses cookies to enhance your experience and provide additional functionality.

Accept