mysql - Need some assistance in writing this insert into query, what's an effective way to do it? -
i putting recipe app time instead of mean stack using postgresql database. goes until time me write insert , downhill there, have written code several different ways , these errors have received: server stareted on port 3000 events.js:141 throw er; // unhandled 'error' event ^ error: null value in column "id" violates not-null constraint tried else , got: server stareted on port 3000 events.js:141 throw er; // unhandled 'error' event ^ error: syntax error @ or near "where" the above when thought woud work adding id = server stareted on port 3000 error running query { [error: there no parameter $1] name: 'error', length: 87, severity: 'error', code: '42p02', detail: undefined, hint: undefined, position: '59', internalposition: undefined, internalquery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, datatype: undefin...