Function bonsaidb::core::permissions::bonsai::document_resource_name
source · pub fn document_resource_name<'a>(
database: impl Into<Identifier<'a>>,
collection: &CollectionName,
id: &'a DocumentId
) -> ResourceName<'a>
Expand description
Creates a resource name for a document id
within collection
within database
.