On Wed, Jul 4, 2012 at 1:33 PM, Harisankar P S <[email protected]> wrote: > I was unable to find the way to flush the contents of a table in the sequel > documentation. Kindly tell me how I may do this task. >
Hi, If your sequel connection is done using DB constant, and if the table name is 'test' for example, then do the following: DB[:test].delete Your schema will be preserved, but all rows of this table will be deleted. -- Christian -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
