| Class-DBI-View documentation | Contained in the Class-DBI-View distribution. |
Class::DBI::View::SubQuery - View implementation using sub-selects
DO NOT USE THIS MODULE DIRECTLY
See Class::DBI::View
This module can be used with a database which supports sub-selects. You know you can usually use VIEWs in such databases which supports sub-selects, but at the time of this writing, MySQL 4.1 beta supports sub-selects, but no VIEWs.
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Class-DBI-View documentation | Contained in the Class-DBI-View distribution. |
package Class::DBI::View::SubQuery; use strict; use vars qw($VERSION); $VERSION = 0.05; sub setup_view { my($class, $sql) = @_; $class->table("($sql)"); # Sweet } 1; __END__