Module api

Module api 

Source
Expand description

REST API endpoints

This module contains all API endpoint handlers for the SQL viewer.

Re-exports§

pub use query::execute_query_handler;
pub use rows::count_rows_handler;
pub use rows::get_rows_handler;
pub use tables::get_table_schema_handler;
pub use tables::list_tables_handler;

Modules§

query
Raw SQL query execution endpoint
rows
Row fetching endpoints with pagination
tables
Table listing and schema endpoints

Functions§

create_api_router
Create the API router with all endpoints