Skip to main content

find_entity_id

Function find_entity_id 

Source
pub fn find_entity_id(
    conn: &Connection,
    namespace: &str,
    name: &str,
) -> Result<Option<i64>, AppError>
Expand description

Looks up the entity by name and namespace. Returns the id when it exists.