-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
PQprepare takes a list of oids; I'd like to pass these directly.
Currently in luapgsql you need to create an example piece of data for each type.
e.g. conn:prepare("mystatement", [[insert into example(col1, col2) values ($1, $2)]], 1, "two")) where 1 and "two" are values invented just to get the types correct.
As part of this there should be a table exposed pgsql.oid with all known oids.
Possibly also a function getdefaultoid given an object.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels