HTML::Filter - Generates SQL::Abstract from JS graphical query editor
use HTML::Filter::Parser;
my $json = {};
my $table = $schema->resultset('TableBeingFiltered');
my $parser = HTML::Filter::Parser->new(config => {});
my $filter = $parser->parse($json);
my $abstract = $filter->to_abstract({ table => $table });
JS executing in the browser updates the value of a hidden input field on an HTML form. When posted to the server the parser consumes the JSON provided and produces a representation of the query in SQL::Abstract format which is in turn consumed by DBIx::Class which produces an SQL query and bind values
Defines no attributes
Defines no methods
None
There are no known incompatibilities in this module
There are no known bugs in this module. Please report problems to http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-Filter. Patches are welcome
Larry Wall - For the Perl programming language
Peter Flanigan, <pjfl@cpan.org>
Copyright (c) 2024 Peter Flanigan. All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic
This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE