Skip to content

Commit

Permalink
docs: Corrected collection comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrunet committed Aug 24, 2023
1 parent dac27b7 commit b6fae92
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/katana_cli/lib/command/code/collection.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,11 @@ class ${className}Model with _\$${className}Model {
/// ```dart
/// appRef.model(${className}Model.collection()); // Get the collection.
/// ref.model(${className}Model.collection())..load(); // Load the collection.
/// ref.model(${className}Model.collection().data.equal(
/// "data",
/// ))..load(); // Load the collection with filter.
/// ref.model(
/// ${className}Model.collection().data.equal(
/// "data",
/// )
/// )..load(); // Load the collection with filter.
/// ```
static const collection = _\$${className}ModelCollectionQuery();
Expand Down

0 comments on commit b6fae92

Please sign in to comment.