database.py
Source: sunholo/database/database.py
Functions
delete_row_from_source(source: str, vector_name: str)
No docstring available.
return_sources_last24(vector_name: str)
No docstring available.
setup_cloudsql(vector_name: str, verbose: bool = False)
No docstring available.
setup_database(type, vector_name: str, verbose: bool = False)
No docstring available.
setup_supabase(vector_name: str, verbose: bool = False)
No docstring available.
get_vector_size(vector_name: str)
No docstring available.
do_sql(sql, sql_params=None, return_rows=False, verbose=False, connection_env='DB_CONNECTION_STRING', max_retries=5)
No docstring available.
execute_sql_from_file(filepath, params, return_rows=False, verbose=False, connection_env=None)
No docstring available.
lookup_connection_env(vs_str)
No docstring available.