<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I noticed this too, a while back, and wondered about it. I believe the reason is that for folks who want to dump a database in order to start using DBIx::Class’s deployment tools, the authoritative view definition needs to start living in the .pm file. For folks, like myself, who manage the database itself and use dbicdump just to sync the .pm files with it, the view’s underlying query is useless in the .pm. I agree an option would be nice.<div class=""><br class=""></div><div class="">Thomas<br class=""><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 21, 2017, at 10:44 , Francisco Obispo <<a href="mailto:francisco@obispo.link" class="">francisco@obispo.link</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8" class="">
<div class="">
<div style="font-family:sans-serif" class=""><div style="white-space:normal" class=""><p dir="auto" class="">I created an RT ticket (I don’t know if it’s the right place), to document this behavior which I believe is a bug:</p><p dir="auto" class=""><a href="https://rt.cpan.org/Public/Bug/Display.html?id=122544" style="color:#3983C4" class="">https://rt.cpan.org/Public/Bug/Display.html?id=122544</a></p><p dir="auto" class="">The result is that <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7" class="">.pm</code>’s derived from a view from <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7" class="">dbicdump</code> are larger than they need to be, inherently using more memory, and with no real good purpose. There should be an option to turn this behavior off.</p><p dir="auto" class="">regards</p>
</div>
</div>
</div>
_______________________________________________<br class="">List: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class" class="">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class</a><br class="">IRC: <a href="http://irc.perl.org" class="">irc.perl.org</a>#dbix-class<br class="">SVN: <a href="http://dev.catalyst.perl.org/repos/bast/DBIx-Class/" class="">http://dev.catalyst.perl.org/repos/bast/DBIx-Class/</a><br class="">Searchable Archive: <a href="http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk" class="">http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk</a></div></blockquote></div><br class=""></div></div></body></html>