79496054

Date: 2025-03-09 14:36:21
Score: 0.5
Natty:
Report link

As I tested on sqlx 0.8.3

One can connect with

let db = SqlitePool::connect_with(
    SqliteConnectOptions::new()
        .filename(format!("{}/data.db", context.output_dir.display()))
        .create_if_missing(true),
)
.await
.unwrap();

Just remove sqlit:// prefix of the filename!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kingwingfly