SQLite Forum

how can i identify the data is just inserted into the database or updated the existed item when i use upsert-clause
Login
i  have  tried sqlite3_total_changes(), but it do not help. i still can not identify  insert or update.