Does sqlalchemy supports chdb serverless database #11319
-
chdb comes from clickhouse, but only supports memory mode. like sqlite memory mode, we can connect sqlite with sqlalchemy showed as below: from sqlalchemy import create_engine
# format 1, disk mode, uri = sqlite:///home/stephen/db1.db
engine = create_engine('sqlite:///home/stephen/db1.db')
# format 2, memory mode, uri = sqlite:///:memory:
engine = create_engine('sqlite:///:memory:')
session = sessionmaker(bind=engine)() So dose sqlalchemy supports chdb or not? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, There is no dialect in sqlalchemy for it. There may be a community driver though, I have not looked.
I would say chdb. Sqlalchemy is not looking into supporting additional drivers directly |
Beta Was this translation helpful? Give feedback.
Hi,
There is no dialect in sqlalchemy for it. There may be a community driver though, I have not looked.
I would say chdb. Sqlalchemy is not looking into supporting additional drivers directly