Function contains

  • Filter for list/map membership.

    The filter matches records with a bin that has a list or map value that contain the given string or integer.

    Parameters

    • bin: string

      The name of the bin.

    • value: AerospikeBinValue

      The value that should be a member of the list or map in the bin.

    • OptionalindexType: indexType

      One of indexType, i.e. LIST, MAPVALUES or MAPKEYS.

    • Optionalctx: Context

      The cdt.Context of the index.

    Returns EqualPredicate

    Secondary Index filter predicate, that can be applied to queries using Query#where.

    v2.0

MMNEPVFCICPMFPCPTTAAATR