Skip to content

Commit 743886e

Browse files
committed
Note about new record_count_in_meta configuration option
1 parent 911f11a commit 743886e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,9 @@ The operation callbacks have access to two meta data hashes, `@operations_meta`
540540

541541
##### Custom `OperationsProcessor` Example to Return total_count in Meta
542542

543+
Note: this can also be accomplished with the `record_count_in_meta` option, and in most cases that will be the better
544+
option.
545+
543546
To return the total record count of a find operation in the meta data of a find operation you can create a custom
544547
OperationsProcessor. For example:
545548

0 commit comments

Comments
 (0)