Constant DB_COLLECTION_NAME

pub const DB_COLLECTION_NAME: &'static str;
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, when the database system supports cross-table queries in non-batch operations.

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"