createFullTextSearchIndex method

Future<void> createFullTextSearchIndex({
  1. required String table,
  2. required String column,
  3. List<String>? namespace,
  4. bool replace = false,
})

Create a full-text search index on a given text column.

Implementation

Future<void> createFullTextSearchIndex({
  required String table,
  required String column,
  List<String>? namespace,
  bool replace = false,
}) async {
  await room.sendRequest("database.create_full_text_search_index", {
    "table": table,
    "column": column,
    "namespace": namespace,
    "replace": replace,
  });
}