Skip to content

Allows SQLDialect to be inferred from the type SQLConnection.#100

Open
sadish-d wants to merge 3 commits intoMechanicalRabbit:masterfrom
sadish-d:master
Open

Allows SQLDialect to be inferred from the type SQLConnection.#100
sadish-d wants to merge 3 commits intoMechanicalRabbit:masterfrom
sadish-d:master

Conversation

@sadish-d
Copy link

@sadish-d sadish-d commented Dec 2, 2025

Not sure if you're accepting pull requests, but here's a small edit.

import SQLite
import FunSQL: DBInterface, SQLConnection, reflect
DBInterface.connect(SQLConnection{SQLite.DB}) |> reflect  # `reflect` now works on the type `SQLConnection`.

If you think there is a better way to do this, please go ahead and ignore this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant