|
Apache::Wyrd::Query - SQL-handle object for Wyrds |
Apache::Wyrd::Query - SQL-handle (DBI) object for Wyrds
<Apache::Wyrd::Query>
update table set row='value' where row='old_value';
delete from table where row='obsolete value'
</Apache::Wyrd::Query>
<Apache::Wyrd::Query query="delete from table where row=23" />
<Apache::Wyrd::Query>
update table set row=$:row_value where row='old_value'
<Apache::Wyrd::Var name="row_value">value</Apache::Wyrd::Var>
</Apache::Wyrd::Query>
Provides a DBI-style statement handle to the Wyrd that encloses it. The
parent must implement the register_query method to make use of it. The
Query Wyrd passes a reference of itself to the register_query method.
_set_cols method for DBDs other than MySQL if the automatic
maintenance of this attribute is to be accomplished and required.
sh method), only the final query in a
series will be used.
(format: (returns) name (arguments after self))
activate (void)sh.
cols (void)set_var (Apache::Wyrd::Var)quoted by DBI.
sh (Apache::Wyrd::Var)
Reserves the _setup, _format_output, and _generate_output
methods.
Barry King <wyrd@nospam.wyrdwright.com>
Copyright 2002-2004 Wyrdwright, Inc. and licensed under the GNU GPL.
See LICENSE under the documentation for Apache::Wyrd.
|
Apache::Wyrd::Query - SQL-handle object for Wyrds |