| … | |
… | |
| 71 | |
71 | |
| 72 | =item get(@keyparts) |
72 | =item get(@keyparts) |
| 73 | |
73 | |
| 74 | Attempts to retrieve the record matching C<@keyparts> from the table. Returns |
74 | Attempts to retrieve the record matching C<@keyparts> from the table. Returns |
| 75 | an instance of the table's record class if there is a match. Returns undef if |
75 | an instance of the table's record class if there is a match. Returns undef if |
| 76 | no record matches. All elements of keyparts must be defined. |
76 | no record matches. All elements of C<@keyparts> must be defined. |
| 77 | |
77 | |
| 78 | =item put($Record) |
78 | =item put($Record) |
| 79 | |
79 | |
| 80 | Attempts to replace the record in the table that matches the key of $Record. |
80 | Attempts to replace the record in the table that matches the key of $Record. |
| 81 | Returns true on success and false on failure (for example, if the database |
81 | Returns true on success and false on failure (for example, if the database |
| … | |
… | |
| 83 | |
83 | |
| 84 | =item delete(@keyparts) |
84 | =item delete(@keyparts) |
| 85 | |
85 | |
| 86 | Attempts to delete the record in the table that matches C<@keyparts>. Returns |
86 | Attempts to delete the record in the table that matches C<@keyparts>. Returns |
| 87 | true if the record was successfully deleted or did not exist, and false if |
87 | true if the record was successfully deleted or did not exist, and false if |
| 88 | deletion failed. |
88 | deletion failed. Elements of C<@keyparts> may be undefined. |
| 89 | |
89 | |
| 90 | =back |
90 | =back |
| 91 | |
91 | |
| 92 | =cut |
92 | =cut |
| 93 | |
93 | |