Closed pdenapo closed 10 months ago
I'm trying to create a client for a database in memory with the following code:
import { createClient } from '@libsql/client'; const client = createClient({ url: ':memory:' });
I get the following code
LibsqlError: URL_INVALID: The URL is not in a valid format
This feature would be useful for instance, when writing tests.
Many thanks, this is very useful for me! I'm submitting a pull-request for adding this to the documentation in the README
https://github.com/libsql/libsql-client-ts/pull/136
I'm trying to create a client for a database in memory with the following code:
I get the following code
LibsqlError: URL_INVALID: The URL is not in a valid format
This feature would be useful for instance, when writing tests.