I've been struggling to get this to work yet not successful, would highly appreciate some advice:
I have my own python module to represent some Chinese calendar dates. I use sqlite3 to persist data. All the dates are converted to string before being stored by sqlite3. Now, I want to query the database with a WHERE caluse, for example:
SELECT * FROM table1 WHERE dates > MyOwnModule.ChineseDate('兔年八月十五')
I got a sqlite operation error.
How can I ever use my own functions in a SQLite query? If I can't do queries, what's the point of using a database to persist??? Please give me some advice, many many thanks!
Bookmarks