DlfResult(3pm)
Okay bestie, you're on the DlfResult(3pm) page from LogReport's Lire Documentation β let's get into it β¨
πΈ NAME πΈ
Lire::DlfResult β interface with the database handler for returned data
β¨ SYNOPSIS β¨
use Lire::DlfResult;
π DESCRIPTION π
Okay so this class is basically the go-between for query results, and here's the whole vibe:
π new( $query, $sql ) π
This is the constructor method for the Lire::DlfResult class. It takes a Lire::DlfQuery object and an SQL statement string as parameters.
Do not call this method directly, bestie πLire::DlfQuerywill return appropriate instances ofLire::DlfResultthrough itsexecute()andexecute_summary()methods.
π¦ dlf_query() π¦
Returns the DlfQuery object from which this DlfResult was obtained. It's giving origin story π
π next_row() π
Returns the "next row" of an executed query β that is, the first record down to the last one, incrementally. Returns an undefined value if called after all the records were returned, and then it dies on subsequent calls π
The record is returned as a HASH reference.
π next_row_aref() π
Same as next_row() except that the record is returned as an ARRAY reference. Same energy, different shape π«Ά
π SEE ALSO π
π AUTHOR π
- Francis J. Lacoste
<flacoste@logreport.org> - Wolfgang Sourdeau
<wolfgang@logreport.org>
π VERSION π
$Id: DlfResult.pm,v 1.12 2006/07/23 13:16:28 vanbaal Exp $
π COPYRIGHT π
Copyright (C) 2003 Stichting LogReport FoundationLogReport@LogReport.org
This file is part of Lire.
Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.
And that's the whole vibe check π
This icon is from Lire 2.1.1, dated 2025-09-28, and you're reading DlfResult(3pm). Bye bestie! π«Ά
π¦ where this page comes from
- arch rolling: lire 2.1.1-8 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms