diff --git a/lib/src/dbs/channel.rs b/lib/src/dbs/channel.rs index 1fffff2f..b3e505ac 100644 --- a/lib/src/dbs/channel.rs +++ b/lib/src/dbs/channel.rs @@ -79,7 +79,7 @@ impl Model { } } if let Some(r) = self.range { - for x in r.0..r.1 { + for x in r.0..=r.1 { Thing { tb: self.table.to_string(), id: x.to_string(), diff --git a/lib/src/dbs/iterate.rs b/lib/src/dbs/iterate.rs index 86f23b43..7bac0e92 100644 --- a/lib/src/dbs/iterate.rs +++ b/lib/src/dbs/iterate.rs @@ -82,7 +82,7 @@ impl Model { } } if let Some(r) = self.range { - for x in r.0..r.1 { + for x in r.0..=r.1 { Thing { tb: self.table.to_string(), id: x.to_string(),