Having issue in SQLite syntax with latest version

I am using this syntax let surah_id = Expression<Int>("surah_id") but the system gives an error and suggesting to use let surah_id = Expression<Int>(value:"surah_id").

Is this syntax correct? If yes then I need to change multiple things as well to update these changes.

Thanks and I am looking forward to getting valuable answers.

Answered by DTS Engineer in 834226022

Hi. Thanks for asking. Can you provide a short listing showing these calls in the context where they are being used? Also, if you can provide some additional information about what you are trying to do that would also be helpful.

Hi. Thanks for asking. Can you provide a short listing showing these calls in the context where they are being used? Also, if you can provide some additional information about what you are trying to do that would also be helpful.

It looks like there is a name conflict between a SQLite framework and the latest version of Swift Foundation. They both use the term "Expression", but they are radically different.

It sounds like you need to write "SQLite.Expression" instead of just "Expression". That should fix it.

See https://github.com/stephencelis/SQLite.swift/issues/1269

Having issue in SQLite syntax with latest version
 
 
Q