Constant DB_COLLECTION_NAME

Source
pub const DB_COLLECTION_NAME: &str = "db.collection.name";
Expand description

The name of a collection (table, container) within the database.

§Notes

It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization.

The collection name SHOULD NOT be extracted from db.query.text, unless the query format is known to only ever have a single collection name present.

For batch operations, if the individual operations are known to have the same collection name then that collection name SHOULD be used.

§Examples

  • "public.users"
  • "customers"