Skip to content

Support default value in insert&update #214

@baest

Description

@baest

Currently it doesn't seem there is any why of inserting or updating with a default value like:

insert into users (id, firstname, lastname) values (default, 'Arthur', 'Dent');

or

update users set id = default where ...

I can see DBD::Pg implements this with a special variable: $DBD::Pg::DBDPG_DEFAULT and handles replacing ? $\d with DEFAULT.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions