Skip to content

DapperMaticSearchable ​

Namespace: MJCZone.DapperMatic.AspNetCore.Models

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

A table <c>$search</c> searches, and the columns it searches. Where the database has a full-text index of them, it is used: a PostgreSQL GIN or GiST index on <c>to_tsvector(...)</c> of the columns, a MySQL <c>FULLTEXT</c> index of exactly the columns, or a SQLite FTS5 table named <c>{table}_fts</c> whose rowids are the table's. Else every word must be contained, ignoring case, in one of the columns.

sealed public

Contents ​

Constructors (1) | Methods (4) | Properties (4)

Constructors ​

DapperMaticSearchable ​

csharp
DapperMaticSearchable()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

DatasourceId ​

Gets or sets the datasource, or null for the table in every datasource.

Type: string?

SchemaName ​

Gets or sets the table's schema, or null for the table in every schema.

Type: string?

TableName ​

Gets or sets the table.

Type: string

Columns ​

Gets or sets the columns searched.

Type: string[]