-
31 Dec 2009 6:39 AM #1Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 434
SQLite, how to select data?
SQLite, how to select data?
I have been able to insert data into the DB using this:
But this doesn't return any result. First question is how do I know it was successful (or if I'm doing it right).Code:store.proxy.conn.exec("INSERT INTO .....")
Second question, how can I get a result if I want to select certain rows?
-
31 Dec 2009 7:03 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 434
Ok, so I wondered around and figure out I can do this instead of typing in the SQL statement:
Code:myStore.proxy.table.insert({ fieldName: value, fieldName1: value1, fieldName2: value2, fieldName3: value3, fieldName4: value4, fieldName5: value5, fieldName6: value6 });


Reply With Quote