Tuesday, October 27, 2009

[android-developers] Re: android.database.sqlite.SQLiteDatabase.insert ignore invalid columns

> I am on a bit of a stretch here. I am looking for a way to use the
> SQLiteDB insert statement above with the contentValues variables that
> go with it BUT I want to ignore any content values in there which do
> not have a column in which to insert the value. Is this possible is
> there a switch anywhere?

No.

It is conceivable that somehow "it just works"; I would more expect a
runtime exception.

--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate