nakagami / firebirdsql

Firebird RDBMS sql driver for Go (golang)
MIT License
224 stars 60 forks source link

Embedded database #98

Closed tredoe closed 4 years ago

tredoe commented 4 years ago

The driver does not allow a connection to an embedded database.

bat22 commented 4 years ago

This package is a pure golang implementation of firebird network protocol without libfbclient/libfbembed dependency. It requires a running firebird server. To connect to an embedded database from golang you need to wrap libfbembed library.

tredoe commented 4 years ago

Could you add that information at the documentation?

bat22 commented 4 years ago

Unfortunately I am not familiar with this. If you want to do it yourself i think you need to start with cgo. You can also see https://github.com/rowland/go-fb as an example of wrapping libfbclient.

tredoe commented 4 years ago

Neither me; I don't use C.

nakagami commented 4 years ago

Sorry, there are no plans to support embedded server