mcp-turso-cloud
Version:
MCP server for integrating Turso with LLMs
17 lines (16 loc) • 569 B
TypeScript
/**
* Set the current database context
*/
export declare function set_current_database(database_name: string | undefined): void;
/**
* Get the current database context
* If no database is set, use the default from config
*/
export declare function get_current_database(): string | undefined;
/**
* Resolve a database name from the context
* If a database name is provided, use it
* Otherwise, use the current database from context
* Throws an error if no database is available
*/
export declare function resolve_database_name(provided_name?: string): string;