Skip to content
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

nSQL: Can't do a query before the database is connected! #214

Open
LearningProcesss opened this issue May 23, 2021 · 1 comment
Open

nSQL: Can't do a query before the database is connected! #214

LearningProcesss opened this issue May 23, 2021 · 1 comment

Comments

@LearningProcesss
Copy link

Which version are you using?
"@nano-sql/core": "^2.3.7"
"snap-db": "^1.1.6"

Describe the bug
Query "select" throw exception

Expected behavior
Get data from specified table

Example
`const dbList = nSQL().listDatabases();

console.log('dblist', dbList); //-> display one database : "organizer"

nSQL().useDatabase("organizer");

nSQL("watchings").query("select").exec().then((rows) => {
console.log(rows)
});`

strange fact: upsert works well.

@doroszenko
Copy link

doroszenko commented Jan 12, 2022

Any update for this?
I use Vue component and have the same.

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