pub fn json_find_migration_by_id<'a>(
root: &'a Value,
migration_id: &str,
) -> Option<&'a Value>Expand description
Finds a migration record by its stable migration id.
§Parameters
root: Input consumed bycrate::runtime::json_commands::json_find_migration_by_id.migration_id: Input consumed bycrate::runtime::json_commands::json_find_migration_by_id.
§Returns
Returns Some when crate::runtime::json_commands::json_find_migration_by_id can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::json_find_migration_by_id(std::path::Path::new("."), "001_init");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.