Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2019-08-30 08:31:54 +02:00
parent 2e892e7498
commit a6e184958b
2 changed files with 4 additions and 3 deletions

View File

@@ -1875,9 +1875,10 @@ def read_cols_df_sql(ids, columns, convertnewtons=True):
cls += column + ', '
cls = cls[:-2]
if len(ids) == 0:
query = sa.text('SELECT {columns} FROM strokedata WHERE workoutid=0'.format(
columns=cls,
))
return pd.DataFrame(),extracols
# query = sa.text('SELECT {columns} FROM strokedata WHERE workoutid=0'.format(
# columns=cls,
# ))
elif len(ids) == 1:
query = sa.text('SELECT {columns} FROM strokedata WHERE workoutid={id}'.format(
id=ids[0],

Binary file not shown.