Module utils/Validate

Functions

Const checkCollectionFields

  • checkCollectionFields(fields: FieldType[]): "true" | object
  • when create collection, field must contain 2 Fields. Type is int64 and primary_key = true Type is one of float_vector and binary_vector

    Parameters

    Returns "true" | object