11 lines
229 B
TypeScript
11 lines
229 B
TypeScript
import type { Database } from "bun:sqlite";
|
|
type Params = {
|
|
db: Database;
|
|
table_name: string;
|
|
};
|
|
export default function getTableColumns({ db, table_name, }: Params): {
|
|
name: string;
|
|
type: string;
|
|
}[];
|
|
export {};
|