SwiftData
SwiftData copied to clipboard
Indexing hags on insert statement.
Hello sir,
Below i have share your Insert statement. This query i am using in my project for offline but there is a problem what i face right now. The problem is that the indexing is hangs on this line because this query is in only one line but written in multiple lines.
Please let me know that how to resolve this problem as soon as possible.
let str = SD.executeChangeToStr(sqlStr: "INSERT INTO MeetingTable (actual_end_time, actual_start_time,agenda_html,availability,date,day,end_time,meeting_id,is_cancel,meeting_name,meeting_type,parent_id,reoccur,responsible_user_id,responsible_user_name,start_time,totalsnoozeTimeMeeting,user_id,wbs_category_id,is_old) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ", withArgs: [actual_end_time as AnyObject,actual_start_time as AnyObject, agenda_html as AnyObject, availability as AnyObject, date as AnyObject, day as AnyObject, end_time as AnyObject, id as AnyObject, is_cancel as AnyObject, meeting_name as AnyObject, meeting_type as AnyObject, parent_id as AnyObject, reoccur as AnyObject, responsible_user_id as AnyObject, responsible_user_name as AnyObject, start_time as AnyObject, totalsnoozeTimeMeeting as AnyObject, user_id as AnyObject, wbs_category_id as AnyObject, is_old as AnyObject])
Regards Nitesh