(
collection: Collection,
)
| 154 | ) |
| 155 | |
| 156 | def collection_distinct( |
| 157 | collection: Collection, |
| 158 | ) -> list[None | int | str | ObjectId | bool]: |
| 159 | return collection.distinct("_id") |
| 160 | |
| 161 | def cursor_distinct( |
| 162 | collection: Collection, |