1234567891011121314151617181920212223242526272829 |
- # ----- App Configuration -----
- DBType = "sqlite3"
- DBPath = "test.db"
- lang = "en"
- listStyle = "tree"
- displayTime = "utc+8"
- # ----- App Command to DB Syntax Translation -----
- [sqlite3]
- # app_command[0] -> command1
- "/" = "SELECT name FROM sqlite_master WHERE type='table';"
- list = "SELECT "
- create = "CREATE "
- add = "INSERT INTO "
- edit = "UPDATE "
- delete = "UPDATE " # change stauts to "deleted"
- # app_command[1] -> obj1
- board = "TABLE {tableName}({board_uid}, {board_name}, {status})"
- class = "TABLE {tableName}({class_uid}, {class_name}, {used_board}, {status})"
- event = "TABLE {tableName}({event_uid}, {event_name}, {event_dscrp}, {event_creator}, {createdTime}, {class_created}, {ddlTime}, {alertTime}, {currentClass}, {status})"
- stucked = "TABLE {tableName}({board_uid}, {event_uid}, {stucked_time}, {solved_time})"
- # app_command[2] -> tag1
- "-name" = ""
- "-d" = ""
- "-ddl" = ""
- to = "here is to"
|