No subject


Sun Nov 20 20:48:46 GMT 2022


```
Hello Support Team,

I would like to make the following proposal.

In the function _table_fk_info we should select the fields with rtrim. 
Some schema have subsequent blanks and later on key values do not exist in 
the object hashref.

=> Searching for relationship will fail.


SELECT tc.constname, sr.reftabschema, sr.reftabname,
       kcu.colname, rkcu.colname, kcu.colseq,
       sr.deleterule, sr.updaterule

to

SELECT tc.constname, rtrim(sr.reftabschema), sr.reftabname,
       kcu.colname, rkcu.colname, kcu.colseq,
       sr.deleterule, sr.updaterule


Kind regards

Frank Biermann
```


-- 
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class-schema-loader/issues/34
You are receiving this because you are subscribed to this thread.

Message ID: <dbsrgits/dbix-class-schema-loader/issues/34 at github.com>
----==_mimepart_637a92da40b6c_c19c67016223f8
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

<p></p>
<p dir="auto">Migrated from <a href="https://rt.cpan.org/Ticket/Display.html?id=100287" rel="nofollow">rt.cpan.org#100287</a> (status was 'new')</p>
<p dir="auto">Requestors:</p>
<ul dir="auto">
<li><a href="mailto:Frank.Biermann at gad.de">Frank.Biermann at gad.de</a></li>
</ul>
<p dir="auto">From <a href="mailto:frank.biermann at gad.de">frank.biermann at gad.de</a> on 2014-11-12 12:01:49<br>
:</p>
<pre class="notranslate"><code class="notranslate">Hello Support Team,

I would like to make the following proposal.

In the function _table_fk_info we should select the fields with rtrim. 
Some schema have subsequent blanks and later on key values do not exist in 
the object hashref.

=&gt; Searching for relationship will fail.


SELECT tc.constname, sr.reftabschema, sr.reftabname,
       kcu.colname, rkcu.colname, kcu.colseq,
       sr.deleterule, sr.updaterule

to

SELECT tc.constname, rtrim(sr.reftabschema), sr.reftabname,
       kcu.colname, rkcu.colname, kcu.colseq,
       sr.deleterule, sr.updaterule


Kind regards

Frank Biermann
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />Reply to this email directly, <a href="https://github.com/dbsrgits/dbix-class-schema-loader/issues/34">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AACJ4AQCWF7LKIR64UK7RODWJKFFVANCNFSM6AAAAAASGAVFFE">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AACJ4AXHFLG3P4C6WBOISE3WJKFFVA5CNFSM6AAAAAASGAVFFGWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHFNWFP4Y.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span>&lt;dbsrgits/dbix-class-schema-loader/issues/34</span><span>@</span><span>github</span><span>.</span><span>com&gt;</span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/dbsrgits/dbix-class-schema-loader/issues/34",
"url": "https://github.com/dbsrgits/dbix-class-schema-loader/issues/34",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>
----==_mimepart_637a92da40b6c_c19c67016223f8--



More information about the DBIx-Class-Devel mailing list