remplissage BDD -> 22/05
This commit is contained in:
parent
cac8aad0c5
commit
a72986fbd9
2 changed files with 2 additions and 0 deletions
BIN
baseFilms.db
BIN
baseFilms.db
Binary file not shown.
|
@ -98,8 +98,10 @@ class filmSQ():
|
|||
c = conn.cursor()
|
||||
try:
|
||||
if nom == 'acteurs':
|
||||
print('acteurs')
|
||||
c.execute("""SELECT name FROM acteurs WHERE iFilm=?""", (self.i,))
|
||||
r = c.fetchall()
|
||||
print(r)
|
||||
res = [a[0] for a in r]
|
||||
else:
|
||||
c.execute("""SELECT %s FROM films WHERE idN=:idN""" % nom, {"idN":self.idN})
|
||||
|
|
Loading…
Reference in a new issue