pub async fn fulltext(
        conn: &mut SqliteConnection,
        text: &str,
    ) -> Result<Vec<Zettel>, anyhow::Error> {
        Ok(sqlx::query_as::<_, Zettel>("SELECT z.zettel_id, title, timestamp, file_path FROM full_text ft JOIN zettels z ON z.zettel_id = ft.zettel_id WHERE full_text MATCH ? ORDER BY rank;")
            .bind(text)
            .fetch_all( conn).await?)
    }
/// Search full text search table for zettels matching `text`
Search full text search table for zettels matching `text`
Search full text search table for zettels matching ` text `
pub async fn fulltext(
        conn: &mut SqliteConnection,
        text: &str,
    ) -> Result<Vec<Zettel>, anyhow::Error> {
        Ok(sqlx::query_as::<_, Zettel>("SELECT z.zettel_id, title, timestamp, file_path FROM full_text ft JOIN zettels z ON z.zettel_id = ft.zettel_id WHERE full_text MATCH ? ORDER BY rank;")
            .bind(text)
            .fetch_all( conn).await?)
    }
pub async fn fulltext ( conn : & mut SqliteConnection , text : & str , ) -> Result < Vec < Zettel > , anyhow :: Error > { Ok ( sqlx :: query_as :: < _ , Zettel > ( " " ) . bind ( text ) . fetch_all ( conn ) . await ? ) }
Search full text search table for zettels matching `text`
Search full text search table for zettels matching ` text `
conn
&mut SqliteConnection
text
&str
conn
&mut SqliteConnection
text
&str