convertTableRowIdsToIndices

suspend fun <T> Path.convertTableRowIdsToIndices(formSchema: Schema<T>, formValue: T): AbsolutePath(source)
suspend fun <T> String.convertTableRowIdsToIndices(formSchema: Schema<T>, formValue: T): AbsolutePath(source)

Utility function which converts a path where table rows are indexed by their id into a path where said rows are indexed by their index in the corresponding table within the provided form value formValue (with schema formSchema).

This function is especially useful when transforming paths into human-readable names where it makes more sense to reference a table row by its index than by its internal id.