blob: 67c5d3e35db92304ac2a098e29e4967d02277fa0 (
plain) (
tree)
|
|
use super::models::ProductImg;
use diesel::prelude::*;
use diesel::result::Error;
type DBConn = SqliteConnection;
pub fn read_products(_conn: &DBConn) -> Result<Vec<ProductImg>, Error> {
todo!()
}
#[cfg(test)]
mod tests {
#[test]
fn test() -> std::result::Result<(), Box<dyn std::error::Error>> {
Ok(())
}
}
|