Skip to content

Using db.js as the only db instead of using SQL/API #1241

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
cireanod opened this issue Mar 25, 2019 · 1 comment
Open

Using db.js as the only db instead of using SQL/API #1241

cireanod opened this issue Mar 25, 2019 · 1 comment

Comments

@cireanod
Copy link

What would be the best way to load/save/edit data and save it to the db.js file instead of using a traditional db?

@cireanod
Copy link
Author

I'd just like to be able to save and pull the list from a db.js file like the information was hardcoded in

db.clients = [
{
"Name": "Otto Clay",
"Age": 61,
"Country": 6,
"Address": "Ap #897-1459 Quam Avenue",
"Married": false
},

];

is that possible?

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

1 participant