NAME

LINQ::FieldSet - base class for LINQ::FieldSet::{Selection,Assertion}

DESCRIPTION

This is used internally by LINQ and you probably don't need to know about it unless you're writing very specific extensions for LINQ.

CONSTRUCTOR

new( ARGSLIST )

Constructs a fieldset from a list of fields like:

'LINQ::FieldSet'->new(
  'field1', -param1 => 'value1', -param2,
  'field2', -param1 => 'value2',
);

The list of allowed parameters and whether each one takes a value is returned by the _known_parameter_names method. This is empty in LINQ::FieldSet itself so doing anything interesting with this class probably requires subclassing.

METHODS

fields

An arrayref of fields in this fieldset.

fields_hash

The same, but as a hashref keyed on field name.

seen_asterisk

Whether "*" was seen by the constructor.

BUGS

Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=LINQ.

SEE ALSO

LINQ::FieldSet.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCE

This software is copyright (c) 2021 by Toby Inkster.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

DISCLAIMER OF WARRANTIES

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.