Skip Menu |
 

This queue is for tickets about the DBIx-DataModel CPAN distribution.

Report information
The Basics
Id: 120719
Status: open
Priority: 0/
Queue: DBIx-DataModel

People
Owner: Nobody in particular
Requestors: aireland [...] lbl.gov
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



MIME-Version: 1.0
X-Spam-Status: No, score=-3.128 tagged_above=-99.9 required=10 tests=[AWL=-1.894, BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_SOFTFAIL=0.665] autolearn=no
X-Ironport-Anti-Spam-Result: A2FjEQB73NNYf8XcVdFdHgYMGQYMgkM7gQmBCweDW5xdgWMBjTaFMIIOLIkGBz8YAQEBAQEBAQEBAQECEAEBCQsLCCYxgjMiDXIBAQEBAQEBAQFMAkRQBHEBBjcCJBIBBQE9h3iCBgUJmmaDRD+MA4FsOopsBRKGPIoPgjqCXwWQXot3hnuLT5EvSJFSFB+BFR+BPRsJAhQIHQ9YBoZbIDWKCQEBAQ
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
X-Ironport-SBRS: 2.7
Content-Type: multipart/alternative; boundary="94eb2c06b00c9d5e6c054b66c0ad"
Message-ID: <CAEWSiHgiCs1jnYvFaHonW9ONokJ0TnaBQRhxxeWifJ0Argg7Bg [...] mail.gmail.com>
X-Received: by 10.237.41.7 with SMTP id s7mr2466443qtd.64.1490279574171; Thu, 23 Mar 2017 07:32:54 -0700 (PDT)
X-Received: by 10.237.41.7 with SMTP id s7mr2466414qtd.64.1490279573826; Thu, 23 Mar 2017 07:32:53 -0700 (PDT)
X-Ironport-Anti-Spam-Filtered: true
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Ironport-Av: E=Sophos;i="5.36,210,1486454400"; d="scan'208,217";a="69083558"
X-Spam-Score: -3.128
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 0007B2403CD for <cpan-bug+DBIx-DataModel [...] hipster.bestpractical.com>; Thu, 23 Mar 2017 10:35:13 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LYk2QRQi5Vv5 for <cpan-bug+DBIx-DataModel [...] hipster.bestpractical.com>; Thu, 23 Mar 2017 10:35:12 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id 8AB8524032D for <bug-DBIx-DataModel [...] rt.cpan.org>; Thu, 23 Mar 2017 10:35:12 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 89CB511F690 for <bug-DBIx-DataModel [...] rt.cpan.org>; Thu, 23 Mar 2017 07:35:07 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 8BEF311F69C for <bug-DBIx-DataModel [...] rt.cpan.org>; Thu, 23 Mar 2017 07:35:00 -0700 (PDT)
Received: from fe3.lbl.gov (fe3.lbl.gov [128.3.41.68]) by xx1.develooper.com (Postfix) with ESMTP id 21EE111F68C for <bug-DBIx-DataModel [...] rt.cpan.org>; Thu, 23 Mar 2017 07:34:53 -0700 (PDT)
Received: from mail-qk0-f197.google.com ([209.85.220.197]) by fe3.lbl.gov with ESMTP; 23 Mar 2017 07:32:54 -0700
Received: by mail-qk0-f197.google.com with SMTP id p22so51867046qka.4 for <bug-DBIx-DataModel [...] rt.cpan.org>; Thu, 23 Mar 2017 07:32:54 -0700 (PDT)
Received: by 10.237.50.66 with HTTP; Thu, 23 Mar 2017 07:32:33 -0700 (PDT)
Delivered-To: cpan-bug+DBIx-DataModel [...] hipster.bestpractical.com
Subject: -result_as => 'sth' does not return DBI statement handle
Return-Path: <aireland [...] lbl.gov>
X-RT-Mail-Extension: dbix-datamodel
X-Original-To: cpan-bug+DBIx-DataModel [...] hipster.bestpractical.com
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JXeDUlKIdJbpM42VNhgNzuUbXScNbg7BFVQupHMo6Bo=; b=ADTgQQmMbAHLUxShf2rnur6tfT02n4D1MLXTEwp80LyIj+8+tG1XGemtq+dB/DYk+5 1gKhBEpEZ6NoLw3F3hJZWix+rvG/XFeU+Dyn1R4skwn2yz6nL28Sqt8QdED27e/XAHwc 1rnts2yjANAtR1GtmerWuej3LolHJtfrUU9JUD4VlSR0naXmdtLB+Qkp5+dvrOCSl3it ZNsqHeK+5zkmd8OLMed4CdjZlepCE4Y+vHqAo7XVF0XCYxlc1Xkfu7zKyct06+mz9OgZ vXNtQpI04NNl1Z1XY8grnIgQ6ZEcQ17kIA6h5t43nQixnhqVOnUEhF7LisYmpWmFLxKp 1XJQ==
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_50_70 0.1, BODYTEXTH_SIZE_10000_LESS 0, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, CTYPE_MULTIPART_NO_QUOTE 0, DATE_TZ_NA 0, SPF_PASS 0, WEBMAIL_SOURCE 0, __ANY_URI 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __HTML_AHREF_TAG 0, __HTML_BOLD 0, __HTML_TAG_DIV 0, __HTTPS_URI 0, __MIME_HTML 0, __MIME_TEXT_H 0, __MIME_TEXT_H1 0, __MIME_TEXT_H2 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_TEXT_P2 0, __MIME_VERSION 0, __MULTIPLE_URI_TEXT 0, __PHISH_SPEAR_HTTP_RECEIVED 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NO_MAILTO 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0, __YOUTUBE_RCVD 0, __blackholes.mail-abuse.org_TIMEOUT , __zen.spamhaus.org_ERROR '
Date: Thu, 23 Mar 2017 07:32:33 -0700
X-Spam-Level:
X-Greylist: delayed 82 seconds by postgrey-1.34 at xx1.develooper.com; Thu, 23 Mar 2017 07:34:56 PDT
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2017.3.23.143018
To: bug-DBIx-DataModel [...] rt.cpan.org
From: Amelia Ireland <aireland [...] lbl.gov>
X-GM-Message-State: AFeK/H0kKx8A8D868HG4x3aM9BO0OtcLqs6r3WNagLQ/Wj39GK8VAdtJfZytqmKEI1rNKulrmdKEgCnGQa6SHU99EV+JM4XalO+wECTRlRcRZ7/PXO+GT0/xdW6RQYrqbJteyMPRS1rXa+cmhI/Eo6CeHUTtxLAAR5xpq0w=
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 581
Download (untitled) / with headers
text/plain 581b
According to the documentation: `-result_as => 'sth'`: The result will be an executed DBI statement handle. Then it is up to the caller to retrieve data rows using the DBI API. If needed, these rows can be later blessed into appropriate objects through bless_from_DB(). I expected to be able to do (e.g.) `$sth->fetchall_arrayref`, but the object returned is a DBIx::DataModel::Statement. Is it possible to access the DBI statement handle via the DBIx::DataModel::Statement object? <https://metacpan.org/pod/distribution/DBIx-DataModel/lib/DBIx/DataModel/Doc/Reference.pod#sql>
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 1443
MIME-Version: 1.0
In-Reply-To: <CAEWSiHgiCs1jnYvFaHonW9ONokJ0TnaBQRhxxeWifJ0Argg7Bg [...] mail.gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAEWSiHgiCs1jnYvFaHonW9ONokJ0TnaBQRhxxeWifJ0Argg7Bg [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-8234-1490834687-525.120719-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 667
Download (untitled) / with headers
text/plain 667b
On Thu Mar 23 10:35:15 2017, aireland@lbl.gov wrote: Show quoted text
> According to the documentation: `-result_as => 'sth'`: > > The result will be an executed DBI statement handle. Then it is up to > the > caller to retrieve data rows using the DBI API. If needed, these rows > can > be later blessed into appropriate objects through bless_from_DB(). > > I expected to be able to do (e.g.) `$sth->fetchall_arrayref`, but the > object returned is a DBIx::DataModel::Statement. > > Is it possible to access the DBI statement handle via the > DBIx::DataModel::Statement object? > <https://metacpan.org/pod/distribution/DBIx- > DataModel/lib/DBIx/DataModel/Doc/Reference.pod#sql>


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.