Hi.
I happened to have the same issue as this:
Specifically (syntax-wise) how does one delete a specific table row,
but INDEPENDENT of the ".id" field?

for example, lets say that I have the following rows in a database
table:

bid.id        bid.bid_id
1        LJWI
2        LJWJ
3        LJWK
4        LJWL

I know that I can use the id field to specify the row to be deleted
and end up with:

bid.id        bid.bid_id
1        LJWI
3        LJWK
4        LJWL


but what if the table will be regularly experiencing row deletions
(from multiple other users), I have a table now looking like for
example

bid.id        bid.bid_id
17        LJWI
32    PWRT
54        AWQS
116        IYRF

In this case, there are multiple users inserting and deleting rows from the db. 
I want ONLY the specific user who inserted the record to delete it. How do I 
code it. It has to be dependent on the logged in user.  I have tried the above 
examples with some frustration.
Kind regards 

-- 
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