Add Database functionality #4
Loading…
Reference in New Issue
No description provided.
Delete Branch "Alex"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
database component exports a sqlite database with the openDb async function.
I think we should keep this file to automatically set up formatting on save within VS Code
forgot to remove?
what changed in this file?
maybe make this a dev dependency?
Maybe move the implementation of these commands to a separate file so it'll be easier to remove these commands later. I don't like having test commands in the actual bot, maybe wrap them in a
if (process.env.NODE_ENV == "dev")
to be safe. In the future we will be writing integration tests for this.what's
flag
for? it seems to be always trueif you are using await, then you can do something like
One of the reasons to use async/await is to avoid a bunch of
.then
schanged this line in version 2 of the diff
changed this line in version 2 of the diff
changed this line in version 2 of the diff
changed this line in version 2 of the diff
added 1 commit
65751723
- merge fixes and add gitattributesCompare with previous version
added 2 commits
35c3e23f
- fix line endings3634c513
- fix line changesCompare with previous version
added 1 commit
543689e4
- change line endings to crlfCompare with previous version
we probably want to gitignore the entire
/db
dir just to be safeadded 2 commits
278cd99c
- update gitattributes9e55e540
- update gitattributesCompare with previous version
changed this line in version 6 of the diff
added 1 commit
5acdd116
- update gitignoreCompare with previous version
added 1 commit
f0214b58
- restore vscode settingsCompare with previous version
maybe we want this outside of the switch statement, since there's one inside
testDb
nit: I prefer
openDB
since it's an acronymforgot to resolve conflict?
Pull request closed