mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 01:58:16 +00:00
open file in append mode
This commit is contained in:
parent
9c4ca28bd9
commit
2cc89f712e
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue