Сomplex query on the page node.js
Hi ! I need make query and insert column "time" in table "table_new". When I make it in mysql everything works out (INSERT INTO TABLE_NEW (TIME) SELECT TIME FROM ( SELECT TIME FROM CHECK_DOC UNION ALL SELECT TIME FROM PITIENT ) tbl GROUP BY TIME HAVING count(*) = 1 ORDER BY…
hi everyone, page refresh when user click on submit button.
I am using nodejs and express-validator for form. but when user click on submit button page refresh. both request get and post are for home route. but still it refresh the page. can anyone help me? it would be help you …
i am getting some unknown error after deploying in heroku
2020-12-17T19:27:10.072776+00:00 app[web.1]: npm ERR! [email protected] start: node index.js 2020-12-17T19:27:10.073174+00:00 app[web.1]: npm ERR! Exit status 1 2020-12-17T19:27:10.073422+00:00 app[web.1]: npm ERR! 2020-12-17T19:27:10.073706+00:00 app[web.1]: npm ERR! Failed at…
Best way to expose a package's endpoints?
I'm working on a simple library which basically just consist of a single utility function. I want to make the library work everywhere. What the best way to export it? I'm current exporting it in formats: esm, cjs and umd. Is there any other formats I should also built it to? …