9 lines
252 B
Rust
9 lines
252 B
Rust
use crate::routes::comments::CommentInput;
|
|
use sqlx::PgPool;
|
|
|
|
pub struct CommentsDatasource;
|
|
impl CommentsDatasource {
|
|
pub async fn get_posts_comments(pool: PgPool) {}
|
|
pub async fn insert_comment(pool: PgPool, comment_input: CommentInput) {}
|
|
}
|