{
type: 'insert',
table: 'test',
values: {
jsonb_column: {
type: 'I am not a function'
}
}
}
Results in:
insert into "test" ("jsonb_column") values ((I am not a function( )))
-- Values:
-- []
Expected:
insert into "test" ("jsonb_column") values ($1)
-- Values:
-- [
-- { "type": "I am not a function" }
-- ]