Forum: Ruby on Rails function parsing different sql options

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Surendra S. (Guest)
on 2006-04-25 21:50
(Received via mailing list)
Hello,
 Is there any function which will parse different sql options and add
them to
a sql query?

I found this `add_limit_offset!' function, but it is an instance method
and I am
not able to use it as a class method. Is there any workaround which will
let
me use it a class method, or is there some other alternate function?

Thanks.
--
Surendra S.
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at: http://cuttingtheredtape.blogspot.com/
,----
| Great wits are sure to madness near allied,
| And thin partitions do their bounds divide.
|
|     (John Dryden, Absalom and Achitophel, 1681)
`----
This topic is locked and can not be replied to.