[storm] Limit clause

Christopher Armstrong radix at twistedmatrix.com
Thu Jul 26 14:57:38 BST 2007


On 7/26/07, akira <nhytro-python at web.de> wrote:
> Hi all,
>
> Is there an actual LIMIT clause? If yes, could someone show an example
> of its use?

Yep: result_set[:N], where N is the number you want passed to LIMIT.

-- 
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/



More information about the storm mailing list