Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for LibSQL #855

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Add tests for LibSQL #855

wants to merge 1 commit into from

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 <piotr@chiselstrike.com>
@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.

None yet

2 participants