Sync engine for local-first apps with real-time sync between client SQLite and backend databases.
| Web | @powersync/web + @journeyapps/wa-sqlite | | React Native | @powersync/react-native + @powersync/op-sqlite | | React hooks | @powersync/react | | Vue composables | @powersync/vue | | Node.js | @powersync/node | | Kysely ORM | @powersync/kysely-driver | | Drizzle ORM | @powersync/drizzle-driver |
| Get one | db.get(sql, params) / db.getOptional(sql, params) | | Get all | db.getAll(sql, params) | | Execute | db.execute(sql, params) | | Transaction | db.writeTransaction(async (tx) => { ... }) | | Watch | db.query({sql, parameters}).watch() | | Diff watch | db.query({sql, parameters}).differentialWatch() |
Build local-first, offline-capable TypeScript apps with PowerSync. Use when implementing real-time sync between SQLite and backend databases (Postgres, MongoDB, MySQL, SQL Server). Covers schema definition, database setup, CRUD operations, React/Vue hooks, watch queries, and Kysely/Drizzle ORM integration. Source: guillempuche/ai-skill-powersync.