update_firmware.sh
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
|____/ \__\_\_____|_|\__\___|
|
|____/ \__\_\_____|_|\__\___|
|
||||||
|
|
||||||
Script to delete a table from sqlite database
|
Script to delete a table from sqlite database
|
||||||
/usr/bin/python3 /var/www/nebuleair_pro_4g/sqlite/delete_table.py table_name [--confirm]
|
/usr/bin/python3 /var/www/nebuleair_pro_4g/sqlite/delete.py table_name [--confirm]
|
||||||
|
|
||||||
Available tables are:
|
Available tables are:
|
||||||
data_NPM
|
data_NPM
|
||||||
@@ -22,13 +22,13 @@ envea_sondes_table
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
# Will ask for confirmation
|
# Will ask for confirmation
|
||||||
python3 delete_table.py data_NPM
|
/usr/bin/python3 /var/www/nebuleair_pro_4g/sqlite/delete.py data_NPM
|
||||||
|
|
||||||
# Skip confirmation prompt
|
# Skip confirmation prompt
|
||||||
python3 delete_table.py data_NPM --confirm
|
/usr/bin/python3 /var/www/nebuleair_pro_4g/sqlite/delete.py data_NPM --confirm
|
||||||
|
|
||||||
# List all tables
|
# List all tables
|
||||||
python3 delete_table.py --list
|
/usr/bin/python3 /var/www/nebuleair_pro_4g/sqlite/delete.py --list
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import sqlite3
|
import sqlite3
|
||||||
|
|||||||
Reference in New Issue
Block a user