Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

193 B
Raw Blame
import { sql } from 'drizzle-orm';

import { db } from './database';

export const search = (input: { title: string }) =>
  db.execute(sql`SELECT id FROM topics WHERE title = ${input.title}`);