On Wednesday, July 4, 2012 6:43:19 AM UTC-5, Michel Blanc wrote:
>
> On 04/07/2012 13:33, Harisankar P S 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. 
> > 
>
> DB[:table].delete 
>
> or 
>
> Model.delete (if you use models) 
>
> M 
>
> -- 
> Michel Blanc - netWorks 
> 8A68 0871 747A 65B6 E87C 3BEA 187C 36BB 2CE5 68BD 
>
>
>  Or DB[:table].truncate

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/Fmld7rHjnlIJ.
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.

Reply via email to