-3

There is no documentation how to find all documents in objectdb flutter ?

dkp1997
  • 175
  • 1
  • 2
  • 7

1 Answers1

2

Have you tried this?

final documents = db.find({});

That is find() method, but with empty map as a first argument. This query argument is a list of conditions that a document has to meet. When there is no conditions - every document meets them!

Albert221
  • 5,223
  • 5
  • 25
  • 41