fn validated_order(
schema: &AppSchema,
records: &[Record],
limits: SnapshotLimits,
) -> Result<Vec<usize>, DatabaseError>Expand description
Validates bounded records, uniqueness, and references in O((rows + links) log rows). Nullable links can cycle; non-null dependencies must admit an insertion order.