[storm] proposal for improvement
stuart.bishop at canonical.com
stuart.bishop at canonical.com
Thu Jun 18 08:16:17 BST 2009
On Tue, Jun 16, 2009 at 7:19 PM, Gustavo Niemeyer<gustavo at niemeyer.net> wrote:
>> To make the life more easy, it's possible to create more specialized
>> functions, wich do at least the same (for example)::
>>
>> col1 = NotNull(Int(primary = True))
>>
>> Hope this helps. Especially for Gerdus, which has developed the same
>> solution as me. (as it looks so)
>
> What about having a "schema" attribute which takes an arbitrary annotation?
>
> Something like Int("name", primary=True, schema=...)
>
> Would that be useful at all?
For any native Storm port of the prejoin feature (as in the SQLObject compatibility layer), we need to know if a reference allows NULL or not. If the column allows NULL, an outer join needs to be performed. Otherwise, an inner join should be used for efficiency. If this information isn't available, the developer will need to hand code the join and get it right.
--
Stuart Bishop <stuart at stuartbishop.net>
http://www.stuartbishop.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/storm/attachments/20090618/9d1cd6e5/attachment.pgp
More information about the storm
mailing list