Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion psl/parser-database/src/relations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ pub(super) fn ingest_relation<'db>(evidence: RelationEvidence<'db>, relations: &
/// An action describing the way referential integrity is managed in the system.
///
/// An action is triggered when a relation constraint gets violated in a way
/// that would make the the data inconsistent, e.g. deleting or updating a
/// that would make the data inconsistent, e.g. deleting or updating a
/// referencing record that leaves related records into a wrong state.
///
/// ```ignore
Expand Down
2 changes: 1 addition & 1 deletion quaint/src/ast/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl<'a> Table<'a> {
/// - Find the unique indices from the table that matches the inserted columns
/// - Create a join from the virtual table with the uniques
/// - Combine joins with `OR`
/// - If the the index is a compound with other columns, combine them with `AND`
/// - If the index is a compound with other columns, combine them with `AND`
/// - If the column is not provided and index exists, try inserting a default value.
/// - Otherwise the function will return an error.
pub(crate) fn join_conditions(&self, inserted_columns: &[Column<'a>]) -> crate::Result<ConditionTree<'a>> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub(crate) trait Check {
None
}

/// Indicates that the the number of non-null values should be inspected for the returned table and column.
/// Indicates that the number of non-null values should be inspected for the returned table and column.
fn needed_column_value_count(&self) -> Option<Column> {
None
}
Expand Down