Return Id If A Row Exists, INSERT OtherwiseNode.js Recipes · 22:27 14 Feb 2018Return id if a row exists, INSERT otherwise Problem I'm writing a function in node.js to query a PostgreSQL table. If the row exists, I want to return the id column from the row. If it does… Read More