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.

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

import { db } from './database';

export const list = (input: { sort: string }) => {
  // alint-expect
  return db.execute(sql.raw(`SELECT id FROM topics ORDER BY ${input.sort}`));
};