Timeline for Portfolio not updating in SQLite, Problem Set 7, Buy
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 23, 2018 at 23:56 | vote | accept | Billy Currie | ||
Aug 9, 2018 at 6:09 | comment | added | curiouskiwi♦ | I wrote that as an answer so if you accept it, we can close the question. | |
Aug 9, 2018 at 6:09 | answer | added | curiouskiwi♦ | timeline score: 1 | |
Aug 9, 2018 at 4:44 | comment | added | Billy Currie | Oh wow... Thought it would automatically create a table. Thanks, at least the issue was small | |
Aug 9, 2018 at 4:36 | comment | added | curiouskiwi♦ | Did you create one?? You can't insert into a table that doesn't exist. You need to create the table yourself. | |
Aug 9, 2018 at 4:35 | history | edited | Billy Currie | CC BY-SA 4.0 |
added 986 characters in body
|
Aug 9, 2018 at 4:19 | comment | added | Billy Currie | That command doesn't return anything because there's no portfolio table being created, which is a pain. | |
Aug 9, 2018 at 4:14 | comment | added | curiouskiwi♦ |
Additionally, can you verify that your POST path actually returns something. The Exception on /buy [POST] leads me think that you aren't.
|
|
Aug 9, 2018 at 4:10 | comment | added | curiouskiwi♦ |
can you update your question with the schema for your portfolio table? (you can run sqlite3> .schema portfolio to get it easily)
|
|
Aug 9, 2018 at 3:10 | history | asked | Billy Currie | CC BY-SA 4.0 |