PDA

View Full Version : Query issue


Annihilator
02-14-2012, 17:32
Hello, I've been coding a plugin that uses sqlite and ran into a problem:

Query failed! column mapas is not unique

So far I only know the db is created and that some info gets added to the db, but I'm unsure if all of it is added and it's most likely that it's not loaded when needed.

Any Idea what could be causing it?

Impact123
02-14-2012, 17:57
That's normal if you have unique columns.
Try to use a query like that.

INSERT OR IGNORE INTO table xxx
Yours sincerely
Impact