-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
md5sum a.out d85aca61384cf8cfa02722881b7eac64 a.out Added function to get a full page of reports from the database. Works well, no memory leaks or anything. With this, the model interactions are pretty much done. There are more complicated queries that could be made and created, such as getting comment messages associated with markers within the same thing and returning json or something. But really, those are a create as I need them function. There are some json functions that need to be made, such as correctly formatting the paginated results, or having a status or error message response in json. The status/error functions can be implemented when I begin work on the http layers. The Paginated bits I could do now or later when actually dealing with them. There's also the fact that we've added an 'addressed' field to the markers in the main greenup application API (which is python and GAE) in order to see if markers have been addressed or not. This is a simple boolean that we can add in to the model. Should be interesting to see how much actually has to change in order to support it. This will give me an idea of how maintainable or not the current C architecture is.
- Loading branch information
1 parent
5b9c564
commit ebae11c
Showing
3 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters