What's buggy about it? 

On Tuesday, July 8, 2014 10:18:45 AM UTC-7, Leonel Câmara wrote:
>
> I noticed I was getting zero returned from my deletes. After reading the 
> python docs I found this:
>
> With SQLite versions before 3.6.5, rowcount 
> <https://docs.python.org/2/library/sqlite3.html#sqlite3.Cursor.rowcount> is 
> set to 0 if you make a DELETE FROM table without any condition.
>
> Available here: 
> https://docs.python.org/2/library/sqlite3.html#sqlite3.Cursor.rowcount
>
> Shouldn't the DAL handle this better? Maybe in SQLiteAdapter which should 
> already have a delete method overload anyway since there's special case 
> code for it in the BaseAdapter which shouldn't be there as special cases 
> should be in the specific implementations.
>  
>
>
>
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to