dev_config.toml 861 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]
  10. "/" = "SELECT name FROM sqlite_master WHERE type='table';"
  11. select = "SELECT "
  12. create = "CREATE "
  13. add = "INSERT INTO "
  14. edit = "UPDATE "
  15. delete = "UPDATE " # change stauts to "deleted"
  16. # app_command[1]
  17. board = "TABLE {tableName}({uid}, {objName}, {status})"
  18. class = "TABLE {tableName}({uid}, {objName}, {used_board}, {status})"
  19. event = "TABLE {tableName}({uid}, {objName}, {event_dscrp}, {event_creator}, {createdTime}, {class_created}, {ddlTime}, {alertTime}, {currentClass}, {status})"
  20. # "/" -> " " in Stateful
  21. stucked = "TABLE {tableName}({uid}, {event_uid}, {stucked_time}, {solved_time})"
  22. # app_command[3] && [4]
  23. "-d" = ""
  24. "-ddl" = ""
  25. to = "here is to"