-
narrative:
- loads relatively fast
- client-side interactivity is very fast
- works offline
- loads very fast with cached data/code
-
The Kysely officially recommended workflow is to auto-generate schema from DB (after running migrations).
What is recommended solution if I am using `pglite` during the development?
-
Raw query with `@>` works just fine:
```
> await db.query(`select * from test where data @> '{"hello": "world"}'`);
{
rows: [ { data: { hello: "world" } } ],
fields: [ { name: "data", dataT…
-
Following up from discord: https://discord.com/channels/933657521581858818/1212676471588520006/1272947534960001054
In short: Using vscode, node and trying to import `pg_tgrm`, the following:
`impo…
-
I'm trying to run and access PGLite through a golang program via [wasmer-go](https://github.com/wasmerio/wasmer-go). However it fails with the error regardgin `env` not instantiated. I assume that the…
-
# Description
I'm running into an issue when trying to create a new database using the OPFS AHP file system. This snippet
```typescript
import { PGlite } from "@electric-sql/pglite";
const clie…
-
## Problem
Currently Prisma does not have support for any sort of in-memory postgres database adapter. This makes testing harder and requires an actual postgres instance running for any sort of int…
-
With v0.2 we will have this api as an options for specifying a VFS:
```js
import { IdbFs } from "@electric-sql/pglite";
const pg = new PGlite({
fs: new IdbFs("my-database")
})
```
We shou…
-
### Link to the code that reproduces this issue
https://github.com/Neo-Ciber94/pglite-next-bug
### To Reproduce
> You can just clone the repo for reproduction, install dependencies and try bu…
-
I'm getting an error when running a transaction in the browser. The function I'm running:
```ts
export const replaceSchema = (db: PGlite, schemaStr: SchemaString) => {
return db.transaction((tx…