def listItems(): r = cocomo.query( "SELECT CONCAT('[',CONCAT(GROUP_CONCAT(REPLACE(track_json,\";\",'\"')),']')) FROM track_playlist WHERE id_playlist = '" + _POST["id"] + "'" ) cocomo.printJson(r, "success")
def listByUser(): r = cocomo.query("SELECT id_playlist , nombre FROM playlist WHERE id_user = '******'") cocomo.printJson(r, "success")
def listByUser(): r = cocomo.query( "SELECT id_playlist , nombre FROM playlist WHERE id_user = '******'id'] + "'") cocomo.printJson(r, "success")
def listItems(): r = cocomo.query( "SELECT CONCAT('[',CONCAT(GROUP_CONCAT(REPLACE(track_json,\";\",'\"')),']')) FROM track_playlist WHERE id_playlist = '" + _POST['id'] + "'") cocomo.printJson(r, "success")
def getDownloadUser(): _result = cocomo.query("CALL getDownloaUser ( " + _POST['id_user'] + " )") cocomo.printJson(_result, "success")