2024-01-23 15:58:54 +01:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
import os
|
2024-01-24 16:14:43 +01:00
|
|
|
|
2024-01-24 15:39:03 +01:00
|
|
|
from dotenv import load_dotenv
|
2024-01-24 16:14:43 +01:00
|
|
|
from surrealdb import Surreal
|
2024-01-23 15:58:54 +01:00
|
|
|
|
2024-01-24 15:39:03 +01:00
|
|
|
load_dotenv()
|
|
|
|
db = Surreal(f"ws://{os.environ.get('DB_HOST')}:{os.environ.get('DB_PORT')}/rpc")
|
2024-01-23 15:58:54 +01:00
|
|
|
|
2024-01-24 16:14:43 +01:00
|
|
|
# TODO: "SQL"-Prompts
|