diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2025-01-05 16:06:17 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2025-01-29 12:42:36 +0100 |
commit | 3e6a646603ccec33e532575c5d6319144dbc8c41 (patch) | |
tree | 31cad2a7b4cc9df10b1ee0d6d39cc6dfaeb7b5f7 /lib/htmlpurifier/library/HTMLPurifier/HTMLModule | |
parent | 03d1f3383ed56ddcdaee844f435a39c4b987cd74 (diff) | |
download | volse-hubzilla-3e6a646603ccec33e532575c5d6319144dbc8c41.tar.gz volse-hubzilla-3e6a646603ccec33e532575c5d6319144dbc8c41.tar.bz2 volse-hubzilla-3e6a646603ccec33e532575c5d6319144dbc8c41.zip |
Add an insert method to dba_pdo
A common use case is to insert a record into a database table, but also
instantiate an object from the inserted data. This requires that we know
the value of any default or calculated columns that is filled in by the
database when the row is inserter.
This patch adds a `insert` method to pda_dbo that will insert a row, and
immediately fetch the row back from the database – including the default
and calculated values not specified by the insert itself.
Diffstat (limited to 'lib/htmlpurifier/library/HTMLPurifier/HTMLModule')
0 files changed, 0 insertions, 0 deletions