A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
というわけで、 前回の記事 の node-postgres の取説 でしょっぱなに、「with async/await」「with callbacks」の二つのやり方が説明されていた理由は、「このライブラリが行うPostgreSQLの読み書きには時間がかかるので、非同期にしないと、Node.jsの処理を足止めしてしまうから」というわけです。
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する