Skip to content

find().all() returns empty list if a field of type bool is indexed #574

Closed
@Sreesanth46

Description

@Sreesanth46

While indexing a field of bool type eg:

class SomeModel(JsonModel):
   ...somefields
   is_delelted: bool = Field(index=True)
   class Meta:
      ...

and while trying to list all entity

SomeModel.find().all() return []

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions