ajout du type de cahn

This commit is contained in:
WEBER Antoine 2015-09-23 23:22:52 +02:00
parent 91e431fa3c
commit c055a9f2ae

View File

@ -18,7 +18,7 @@ router.get('/', function(req, res, next) {
//} //}
//stmt.finalize(); //stmt.finalize();
db.each("SELECT id, name" db.each("SELECT id, name, section_type as type"
+ " FROM library_sections ORDER BY name ASC", function(err, row) { + " FROM library_sections ORDER BY name ASC", function(err, row) {
data.push(row); data.push(row);
}, },