(data)
| 212 | catch: (cause) => new SqlError({ cause, message: "Failed to export database" }) |
| 213 | }), |
| 214 | import(data) { |
| 215 | return Effect.try({ |
| 216 | try: () => sqlite3.deserialize(db, "main", data, data.length, data.length, 1 | 2), |
| 217 | catch: (cause) => new SqlError({ cause, message: "Failed to import database" }) |
| 218 | }) |
| 219 | } |
| 220 | }) |
| 221 | }) |
| 222 |
nothing calls this directly
no test coverage detected