SearchHistoryItemSchema top-level constant

CollectionSchema<SearchHistoryItem> const SearchHistoryItemSchema

Implementation

const SearchHistoryItemSchema = CollectionSchema(
  name: r'SearchHistoryItem',
  id: 7309085037371405047,
  properties: {
    r'historyKey': PropertySchema(
      id: 0,
      name: r'historyKey',
      type: IsarType.string,
    ),
    r'searchTerm': PropertySchema(
      id: 1,
      name: r'searchTerm',
      type: IsarType.string,
    ),
    r'uniqueKey': PropertySchema(
      id: 2,
      name: r'uniqueKey',
      type: IsarType.string,
    )
  },
  estimateSize: _searchHistoryItemEstimateSize,
  serialize: _searchHistoryItemSerialize,
  deserialize: _searchHistoryItemDeserialize,
  deserializeProp: _searchHistoryItemDeserializeProp,
  idName: r'id',
  indexes: {
    r'historyKey': IndexSchema(
      id: 5177523953167790614,
      name: r'historyKey',
      unique: false,
      replace: false,
      properties: [
        IndexPropertySchema(
          name: r'historyKey',
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    ),
    r'searchTerm': IndexSchema(
      id: 6747083501682260651,
      name: r'searchTerm',
      unique: false,
      replace: false,
      properties: [
        IndexPropertySchema(
          name: r'searchTerm',
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    ),
    r'uniqueKey': IndexSchema(
      id: -866995956150369819,
      name: r'uniqueKey',
      unique: true,
      replace: true,
      properties: [
        IndexPropertySchema(
          name: r'uniqueKey',
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    )
  },
  links: {},
  embeddedSchemas: {},
  getId: _searchHistoryItemGetId,
  getLinks: _searchHistoryItemGetLinks,
  attach: _searchHistoryItemAttach,
  version: '3.1.0+1',
);