SQLite Forum

how can i identify the data is just inserted into the database or updated the existed item when i use upsert-clause
this may work. but when i use mysql ,i can use the api mysql_stmt_affected_rows() to identify different situations. so i want to find out a way to resolve the problem directly. thanks anyway.