11 lines
294 B
TypeScript
11 lines
294 B
TypeScript
import type { BunMariaDBConfig } from "../../types";
|
|
export type ColumnInfoRow = {
|
|
name: string;
|
|
type: string;
|
|
comment?: string;
|
|
};
|
|
export default function getTableColumns({ tableName, config, }: {
|
|
tableName: string;
|
|
config?: BunMariaDBConfig;
|
|
}): Promise<ColumnInfoRow[]>;
|