debot_db

Function search_items

Source
pub async fn search_items<T: Entity>(
    db: &Database,
    item: &T,
    mode: SearchMode,
    limit: Option<u32>,
    id: Option<u32>,
) -> Result<Vec<T>, Box<dyn Error>>