MISC: Useful Commands, Keys and Notes
Posted by Ninja Space Content on Saturday, October 16, 2021
Tags: psql tips useful commands on mac
find . -name .git -type d -prune
Shortcut: Click F2 and then change the variable name and click 'enter' to change all variables that is the same as what you selected before hitting F2.npm install nodemon --save-dev
process.env
\c [database name]
to make sure you're in that database to create new tables.\d [table name]
to see schema that you've just created.INSERT INTO people (firstname, lastname) VALUES ('firstTest', 'lastTest');
UPDATE people SET firstname='James', lastname='Taylor' WHERE id=1;
Ninja Space Content |
California |
![]() |