[dancer-users] can not quick_delete on sqlite ?

Tonton to.tonton at gmail.com
Mon Aug 11 17:55:20 BST 2014


Solved !

i use jquery $.get(/url/:id....

but it is working with break point in the browser just in waiting a few.

rewrite for use  $.post(url, data....  and it's ok !

T.


On Mon, Aug 11, 2014 at 6:36 PM, Tonton <to.tonton at gmail.com> wrote:

> Hello
>
> i use a db file per entreprise of user in my dancer app, i can get insert
> and update
>
> but for delete it is not really works...:(
>
> this how i do that the table have primary key name id
>
> my $dbname           = "$UPLOAD/$entreprise/$entreprise.sqlite";
>     database({ driver => 'SQLite', database => $dbname
> })->quick_delete('fournisseurs', {id => $idFourToDel} );
>
>
> is someone with solution or same trouble
>
> T.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20140811/e763d055/attachment.html>


More information about the dancer-users mailing list