Start with the README for new dialects:
https://bitbucket.org/zzzeek/sqlalchemy/src/44a9820b4e02f65b3884fa2c016efce9663e4910/README.dialects.rst?at=master
that will show the guidelines for writing new dialects.
Then to see some examples of that layout, take a look at some of the
3rd party dialects listed at:
http://docs.sqlalchemy.org/en/latest/dialects/index.html#production-ready
Also the "sqlalchemy-access" dialect is basically something of a
"demo" for the layout, which I basically put there after extracting
it from SQLAlchemy main where it had been for many years. It might
not be 100% up to date, but mostly follows that guideline and even
passed tests at one point, that's at
https://bitbucket.org/zzzeek/sqlalchemy-access.
The key thing you'll be doing is running the suite tests, which will
be part of the test suite within your own dialect. So yes, you
start with a fairly plain subclass of DefaultDialect, then you
probably want to get a "hello world" kind of program going where you
just see if "create_engine" and then "engine.execute("select * from
table")" work at all, and then the suite tests should test a lot
more.
Ciao ciao
Ralph
--
You received this message because you are subscribed to the Google
Groups "sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to sqlalchemy+...@googlegroups.com.
To post to this group, send email to sqlal...@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.