Skip to content

change db pattern - #38

Open
mouadhkaabachi wants to merge 1 commit into
python-bonobo:masterfrom
mouadhkaabachi:dev
Open

change db pattern#38
mouadhkaabachi wants to merge 1 commit into
python-bonobo:masterfrom
mouadhkaabachi:dev

Conversation

@mouadhkaabachi

Copy link
Copy Markdown

I think passing client_encoding=utf8 in create_postgresql_engine() directly no a good solution, client_encoding is for postgres, so if you use mysql or any thing else..., it won"t work

@hartym

hartym commented Oct 27, 2017

Copy link
Copy Markdown
Member

I am currently wondering if it's a good idea at all to have this "create_postgresql_engine" function in bbsqla. In fact, isn't it better to just use sqlalchemy.create_engine?

Having a specific PG option in a create_POSTGRESQL_engine function does not shock me, but I'm wondering if this is not a bit out of scope for the extension, what do you think?

@hartym hartym added the backlog label Jun 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants