Skip to main content

METHOD

Constant METHOD 

Source
pub const METHOD: IndexMarker;
Expand description

Specifies the index access method.

ยงExample

#[PostgresIndex(method = "gin")]
struct DocumentsSearchIdx(Documents::search_vector);

See: https://www.postgresql.org/docs/current/indexes-types.html