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.

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

import { db } from './database';

export const search = (input: { title: string }) => {
  // alint-expect
  return db.execute(sql.raw(`SELECT id FROM topics WHERE title = '${input.title}'`));
};