gorm.io icon indicating copy to clipboard operation
gorm.io copied to clipboard

[Question]

Open iamemilio opened this issue 2 years ago • 0 comments

Document Link

https://gorm.io/docs/connecting_to_the_database.html

Your Question

How do I use a custom database driver for databases other than mysql and postgresql? This is very unclear to me in the docs, but I managed to do this by creating a custom dialector and passing it to the open function.

Expected answer

This should either be documented, or be consistent with the way its done for mysql or postgresql. Context: https://github.com/iamemilio/gorm-instrumentation-demo/tree/master/basic-gorm-example

iamemilio avatar Mar 02 '22 21:03 iamemilio