개정판 8c9f8074
dev issue #479: edit query
DTI_PID/DTI_PID/AppDocData.py | ||
---|---|---|
513 | 513 |
|
514 | 514 |
conn = sqlite3.connect(dbPath) |
515 | 515 |
cursor = conn.cursor() |
516 |
sql = 'SELECT * FROM Symbol WHERE isExceptDetect = 0 order by threshold desc'
|
|
516 |
sql = 'SELECT * FROM Symbol WHERE isExceptDetect = 0 order by width * height desc'
|
|
517 | 517 |
try: |
518 | 518 |
cursor.execute(sql) |
519 | 519 |
rows = cursor.fetchall() |
내보내기 Unified diff