Update Example in SQLSoup Doc is not working.

Issue #2158 resolved
Former user created an issue

The Example

db.loans.update(db.loans.book_id==2, book_id=1)

is not working anymore.

you have to use

db.loans.filter_by(book.id=2).update({'book.id': 1})

Comments (3)

  1. Log in to comment