View Single Post
Old 10-26-2023, 05:47 PM   #2769
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
What did I do wrong?
Without looking at the code I can't say for certain. However, in the first and third snippet you can't replace ['text'] with ['text, comments']. The variable is a list (an array) so it must be ['text', 'comments'] to have two items.

The real work: you will need to determine whether the assumption that the column type is text is baked-in, and if so how deeply. The second snippet and the names of the methods imply the change isn't trivial.
chaley is offline