Hi everyone.
I'm trying to set a value to a custom column, but got stuck.
Here is what I got:
Code:
mi = db.get_metadata(book_id)
mi.set_user_metadata(#percentage, progress)
But it doesn't work, because 'progress' just a integer.
According to the Manual, I should use:
Code:
set_user_metadata(field, metadata)
How is a 'metadata' represented? I've noticed is not just a value, but I can't figure out how to make it work.