2024-09-24 20:26:15 -04:00
|
|
|
use crate::routes::comments::CommentInput;
|
|
|
|
|
use sqlx::PgPool;
|
|
|
|
|
|
2024-09-22 22:38:35 -04:00
|
|
|
pub struct CommentsDatasource;
|
2024-09-24 20:26:15 -04:00
|
|
|
impl CommentsDatasource {
|
|
|
|
|
pub async fn get_posts_comments(pool: PgPool) {}
|
|
|
|
|
pub async fn insert_comment(pool: PgPool, comment_input: CommentInput) {}
|
|
|
|
|
}
|