Skip to content

Conversation

@fredericrous
Copy link

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

add expo-sqlite to @effect/sql for use when developing react native apps with expo

Related

@github-project-automation github-project-automation bot moved this to Discussion Ongoing in PR Backlog Mar 2, 2025
@fredericrous
Copy link
Author

fredericrous commented Mar 2, 2025

notice I put a singleton there, dbRef, Effect might offer alternatives. also closeSync would in some cases be called even tho the db connection was not open, so I wrapped it in a try catch

@nikelborm
Copy link
Contributor

nikelborm commented Nov 4, 2025

@subtleGradient Do you have time and resources to put this PR into your https://github.com/effect-native/effect-native/ repo? And package it? It would be very nice to have this packaged, instead of copy-pasting, while it's not merged

BTW, since I needed this expo-sqlite for my own project, I refactored and improved it a bit

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

Labels

None yet

Projects

Status: Discussion Ongoing

Development

Successfully merging this pull request may close these issues.

SqlClient for expo-sqlite

2 participants