CSC495-2014 / TeamworkEnglewoodGit

GNU General Public License v2.0
5 stars 15 forks source link

Functions that Query the Database #109

Closed cjwhite92 closed 10 years ago

cjwhite92 commented 10 years ago

@apotheos I have functions for the Mysql queries Will needs to insert users into the database, delete users, etc. but I'm not sure where they should go. The model seems like a logical place to put them but the functions are directly interacting with the database, is that a problem? If so, where should they go?

@wwforg @recrotteau

mikeholler commented 10 years ago

They should go in the model. On Mar 4, 2014 5:40 PM, "cjwhite92" notifications@github.com wrote:

@apotheos https://github.com/apotheos I have functions for the Mysql queries Will needs to insert users into the database, delete users, etc. but I'm not sure where they should go. The model seems like a logical place to put them but the functions are directly interacting with the database, is that a problem? If so, where should they go?

@wwforg https://github.com/wwforg @recrotteauhttps://github.com/recrotteau

Reply to this email directly or view it on GitHubhttps://github.com/CSC495-2014/TeamworkEnglewoodGit/issues/109 .