MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / get_queue_item

Function get_queue_item

chirpstack/src/storage/multicast.rs:730–736  ·  view source on GitHub ↗
(id: &Uuid)

Source from the content-addressed store, hash-verified

728 use crate::test;
729
730 pub async fn get_queue_item(id: &Uuid) -> Result<MulticastGroupQueueItem, Error> {
731 multicast_group_queue_item::dsl::multicast_group_queue_item
732 .find(&fields::Uuid::from(id))
733 .first(&mut get_async_db_conn().await?)
734 .await
735 .map_err(|e| Error::from_diesel(e, id.to_string()))
736 }
737
738 struct FilterTest<'a> {
739 filters: Filters,

Callers 1

test_queueFunction · 0.85

Calls 2

to_stringMethod · 0.80
get_async_db_connFunction · 0.70

Tested by 1

test_queueFunction · 0.68