For security reasons we should always use parameterized queries to avoid SQL injections through parameters. The usual format is When a PostgreSQL command runs and a parameter is not used, we get the error message error: could not determine data type of parameter $1 Solution: Remove the unused parameter from the “parameters” array, in this …
Continue reading “error: could not determine data type of parameter $1”