Skip to content

Conversation

haaawk
Copy link

@haaawk haaawk commented Apr 4, 2023

to run them execute:

export SQLX_LIBSQL_DSN="wss://<db url>?jwt=<access token>"
export SQLX_SQLITE_DSN=skip
export SQLX_POSTGRES_DSN=skip
export SQLX_MYSQL_DSN=skip

go test -v -count=1 ./...

to run them execute:

export SQLX_LIBSQL_DSN="wss://<db url>?jwt=<access token>"
export SQLX_SQLITE_DSN=skip
export SQLX_POSTGRES_DSN=skip
export SQLX_MYSQL_DSN=skip

go test ./... -v -count=1

Signed-off-by: Piotr Jastrzebski <[email protected]>
@haaawk
Copy link
Author

haaawk commented Apr 4, 2023

The purpose of this PR is mostly to start a discussion around whether SQLX would be willing to accept contribution of LibSQL related tests. LibSQL is an open contribution fork of SQLite that also supports server deployments and replication. It follows SQLite SQL dialect so all the tests are reusing SQLite SQLs.

@haaawk haaawk marked this pull request as draft April 4, 2023 15:33
@dlsniper
Copy link
Collaborator

dlsniper commented Feb 1, 2024

Hello, @ardan-bkennedy, and I recently stepped in to help maintain this project.
We are sorting the opened issues and pull requests and would like to know if you still NEED this merged.
Thank you for your contribution.

@haaawk
Copy link
Author

haaawk commented Feb 1, 2024

Hi @dlsniper, yes. I will update the PR. Thank you.

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.

2 participants