Skip to content

Conversation

stevensJourney
Copy link
Contributor

@stevensJourney stevensJourney commented May 22, 2024

Description

This is an extension of #27 where the prototype is extended with some internal changes.

Drift

Drift was previously used to spawn SQLite database connections via different configurations of web workers.

The dependency for the Drift package is now removed in favour of using the new sqlite3_web package. A new implementation for WebDatabase is used for SQL database connections on web.

  • Web worker generation scripts have been updated to generate worker entry points.
  • New exports are added for downstream consumers of this package to extended custom workers with custom SQLite function capabilities.
  • Tests for watched queries are now executed on both native and web platforms.

stevensJourney and others added 3 commits June 5, 2024 17:38
* Custom requests for execute in transactions

* Clean up js to dart

* remove requirement for checking SQL statements when checking autocommit

---------

Co-authored-by: Steven Ontong <steven@journeyapps.com>
@stevensJourney stevensJourney marked this pull request as ready for review June 24, 2024 07:17
}

// Web and native have different requirements for `sqlitePaths`.
void generateSourceTableTests(List<String> sqlitePaths,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can this not be extracted into a test_utils or something since it's used elsewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's only currently used for the watch tests. I don't think it's currently necessary in other tests.

@mugikhan mugikhan merged commit 31c2fad into alpha-web-prerelease Jun 27, 2024
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.

4 participants