Skip to content

Attach database #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jorfermo opened this issue Jul 31, 2016 · 6 comments
Open

Attach database #3

jorfermo opened this issue Jul 31, 2016 · 6 comments

Comments

@jorfermo
Copy link

Does it support attach database?

@jayralencar
Copy link
Owner

I don´t think so. But I´ll test ir.

@jayralencar
Copy link
Owner

@jorfermo
Copy link
Author

jorfermo commented Aug 2, 2016

Is sqlite-sync based on sql.js?

@jayralencar
Copy link
Owner

Yes!

@jorfermo
Copy link
Author

jorfermo commented Aug 3, 2016

That's great! So... can I also use the async functions of sqlite.js through your library?

And 2nd question. Can I use in sqlite-sync named params like in sql.js?

// Prepare a statement
    var stmt = db.prepare("SELECT * FROM test WHERE col1 BETWEEN $start AND $end");
    stmt.getAsObject({$start:1, $end:1}); // {col1:1, col2:111}

@jayralencar
Copy link
Owner

jayralencar commented Nov 25, 2016

No, you cant use like this. Not yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants