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.
ยงErrors
Returns AppError::Database when the underlying SQLite operation fails.