dev_config.toml 900 B

1234567891011121314151617181920212223242526272829
  1. # ----- App Configuration -----
  2. DBType = "sqlite3"
  3. DBPath = "test.db"
  4. lang = "en"
  5. listStyle = "tree"
  6. displayTime = "utc+8"
  7. # ----- App Command to DB Syntax Translation -----
  8. [sqlite3]
  9. # app_command[0] -> command1
  10. "/" = "SELECT name FROM sqlite_master WHERE type='table';"
  11. list = "SELECT "
  12. create = "CREATE "
  13. add = "INSERT INTO "
  14. edit = "UPDATE "
  15. delete = "UPDATE " # change stauts to "deleted"
  16. # app_command[1] -> obj1
  17. board = "TABLE {tableName}({board_uid}, {board_name}, {status})"
  18. class = "TABLE {tableName}({class_uid}, {class_name}, {used_board}, {status})"
  19. event = "TABLE {tableName}({event_uid}, {event_name}, {event_dscrp}, {event_creator}, {createdTime}, {class_created}, {ddlTime}, {alertTime}, {currentClass}, {status})"
  20. stucked = "TABLE {tableName}({board_uid}, {event_uid}, {stucked_time}, {solved_time})"
  21. # app_command[2] -> tag1
  22. "-name" = ""
  23. "-d" = ""
  24. "-ddl" = ""
  25. to = "here is to"