<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 9, 2016 at 7:14 PM, Luca Delucchi <span dir="ltr"><<a href="mailto:lucadeluge@gmail.com" target="_blank">lucadeluge@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 9 March 2016 at 19:11, Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br>
><br>
><br>
> Yeah.. I think<br>
> LEFT OUTER JOIN<br>
> must be used, at least with sqlite backend.<br></span></blockquote><div><br></div><div>The code now assumes a 1:1 relationship, is that right? <br><br></div><div>so if Table 1<br></div><div><span style="font-family:monospace,monospace">A|B<br>1|2<br>2|2</span><br></div><div><br></div><div>and Table 2<br></div><div><span style="font-family:monospace,monospace">A|C<br>1|3<br>1|4<br>2|6</span><br><br></div><div>After joining Table 1 looks like<br><br></div><div><span style="font-family:monospace,monospace">A|B|C<br>1|2|3<br>2|2|6</span><br></div><div><br></div><div>If correct, it might be good to clearly explain this in the documentation? I wouldn't mind doing that if a final version is ready. At some point it might be a nice feature to have the option to select the kind of relationship. On the other hand, that may complicate things to the point that one may as well use db.execute.<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
><br>
<br>
</span>no, the code is working quiet well, look to m other mail. it seems a<br>
column type problem<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
ciao<br>
Luca<br>
<br>
<a href="http://gis.cri.fmach.it/delucchi/" rel="noreferrer" target="_blank">http://gis.cri.fmach.it/delucchi/</a><br>
<a href="http://www.lucadelu.org" rel="noreferrer" target="_blank">www.lucadelu.org</a><br>
</div></div></blockquote></div><br></div></div>