Quantcast
Channel: Weaviate Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 3588

Filter by date field, JS

$
0
0

Description

Getting the next error while trying to filter the collection on date type field

Error: Query call with protocol gRPC failed with message: /weaviate.v1.Weaviate/Search UNKNOWN: unknown value type

Collection has a date field ‘importDate’

const collection = client.collections.get('CollectionName')
const response = await collection.data.deleteMany(
       collection.filter.byProperty('importDate').lessOrEqual((new Date()).toISOString())
    )

Server Setup Information

  • Docker image: semitechnologies/weaviate:1.25.8
  • Deployment Method: docker
  • Client Language and Version: “weaviate-client”: “^3.0.5”

Viewing all articles
Browse latest Browse all 3588

Trending Articles