Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
atn832 committed Nov 6, 2024
1 parent 661f08c commit e177485
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 3.1.0

Improvements to Queries:

- Support Filters.
- Fix order by multiple fields.

Thank you [ominibyte](https://github.com/ominibyte)! [PR-319](https://github.com/atn832/fake_cloud_firestore/pull/319)

## 3.0.3

- Upgraded rxdart to ^0.28.0. Thank you [daniloapr](https://github.com/daniloapr)! [PR-315](https://github.com/atn832/fake_cloud_firestore/issues/315)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ https://github.com/atn832/fake_cloud_firestore/blob/0bd0b648241c0ed3e6eac2c26eef
- Filter results with `query.where`. The library supports `equals`, `isGreaterThan`, `isGreaterThanOrEqualTo`, `isLessThan`,`isLessThanOrEqualTo`, `isNull`, `isNotEqualTo`, `arrayContains`, `arrayContainsAny`, `whereIn` and `whereNotIn`.
- Sort results with `query.orderBy`.
- Limit results with `query.limit`, `limitToLast`, `startAfterDocument`, `startAt`, `startAtDocument`, `endAt`, `endAtDocument`, `endBefore`, `endBeforeDocument`. Note: `startAnd` and `endAt` work only on exact matches.
- Filter with `Filter`, including composite filters like `Filter.and` and `Filter.or`.
- Aggregate with `query.count`, `query.aggregate(sum(field1), average(field2)...)`.
- `ValueField`:
- set timestamps with `FieldValue.serverTimestamp()`. Optionally you can pass a `Clock` when instantiating `FakeFirebaseFirestore` to define what time gets set.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: fake_cloud_firestore
description: Previously known as cloud_firestore_mocks. Fake implementation of Cloud Firestore. Use this package to unit test apps that use Cloud Firestore.
version: 3.0.3
version: 3.1.0
homepage: https://www.wafrat.com
repository: https://github.com/atn832/fake_cloud_firestore

Expand Down

0 comments on commit e177485

Please sign in to comment.