Skip to content

Commit d525e0c

Browse files
committed
WIP: More finegrained Diesel helpers
1 parent c6e93e8 commit d525e0c

File tree

4 files changed

+764
-697
lines changed

4 files changed

+764
-697
lines changed

store/postgres/src/block_range.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -279,14 +279,6 @@ impl<'a> BlockRangeColumn<'a> {
279279
}
280280
}
281281

282-
/// Output the name of the block range column without the table prefix
283-
pub(crate) fn bare_name(&self, out: &mut AstPass<Pg>) {
284-
match self {
285-
BlockRangeColumn::Mutable { .. } => out.push_sql(BLOCK_RANGE_COLUMN),
286-
BlockRangeColumn::Immutable { .. } => out.push_sql(BLOCK_COLUMN),
287-
}
288-
}
289-
290282
/// Output an expression that matches all rows that have been changed
291283
/// after `block` (inclusive)
292284
pub(crate) fn changed_since<'b>(&'b self, out: &mut AstPass<'_, 'b, Pg>) -> QueryResult<()> {

0 commit comments

Comments
 (0)