dev_config.toml 857 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.init]
  9. DBType = "sqlite3"
  10. # Table name
  11. Board = ""
  12. Class = ""
  13. Event = ""
  14. Stuck = ""
  15. Alert = ""
  16. DDL = ""
  17. [sqlite3]
  18. # app_command[0]
  19. "/" = "SELECT name FROM sqlite_master WHERE type='table';"
  20. select = "SELECT "
  21. add = "INSERT INTO "
  22. edit = "UPDATE "
  23. delete = "UPDATE " # change stauts to "deleted"
  24. wipe="DROP WHERE"
  25. # app_command[1]
  26. board = "({uid}, {name}, {status}).format(uid='', name='', status='live')"
  27. class = "({uid}, {name}, {usedBoard}, {status})"
  28. event = "({uid}, {name}, {dscrp}, {createdTime}, {belongBoard}, {classCreated}, {currentClas}, {status})"
  29. # "/" -> " " in Stateful
  30. stucked = "Stucked "
  31. # app_command[3] && [4]
  32. "-d" = ""
  33. "-ddl" = ""
  34. to = "here is to"