mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 12:04:21 +01:00
open file in append mode
This commit is contained in:
@@ -6,4 +6,4 @@ const stmt = db.prepare('SELECT * FROM users');
|
||||
|
||||
const users = stmt.all();
|
||||
|
||||
console.log(users);
|
||||
console.log(users);
|
||||
|
||||
@@ -149,7 +149,7 @@ impl limbo_core::IO for PlatformIO {
|
||||
_flags: OpenFlags,
|
||||
_direct: bool,
|
||||
) -> Result<Rc<dyn limbo_core::File>> {
|
||||
let fd = self.vfs.open(path, "w+");
|
||||
let fd = self.vfs.open(path, "a+");
|
||||
Ok(Rc::new(File {
|
||||
vfs: VFS::new(),
|
||||
fd,
|
||||
|
||||
Reference in New Issue
Block a user