gblog/post_repository

Values

pub fn clear() -> Result(Nil, sqlight.Error)
pub fn find_all(
  only_published only_published: Bool,
) -> Result(List(post.Post), sqlight.Error)
pub fn find_all_by_tag(
  tag: String,
  only_published only_published: Bool,
) -> Result(List(post.Post), sqlight.Error)
pub fn find_by_path(path: String) -> Result(post.Post, Nil)
pub fn save_post(
  post: post.Post,
) -> Result(List(String), sqlight.Error)
✨ Search Document