sqlc.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "version": "1",
  3. "cloud": {
  4. "project": "01HAQMMECEYQYKFJN8MP16QC41"
  5. },
  6. "packages": [
  7. {
  8. "path": "postgresql",
  9. "name": "ondeck",
  10. "schema": "postgresql/schema",
  11. "queries": "postgresql/query",
  12. "engine": "postgresql",
  13. "sql_package": "database/sql",
  14. "database": {
  15. "managed": true
  16. },
  17. "analyzer": {
  18. "database": false
  19. },
  20. "rules": [
  21. "sqlc/db-prepare"
  22. ],
  23. "emit_json_tags": true,
  24. "emit_prepared_queries": true,
  25. "emit_interface": true
  26. },
  27. {
  28. "path": "mysql",
  29. "name": "ondeck",
  30. "schema": "mysql/schema",
  31. "queries": "mysql/query",
  32. "engine": "mysql",
  33. "database": {
  34. "managed": true
  35. },
  36. "rules": [
  37. "sqlc/db-prepare"
  38. ],
  39. "emit_json_tags": true,
  40. "emit_prepared_queries": true,
  41. "emit_interface": true
  42. },
  43. {
  44. "path": "sqlite",
  45. "name": "ondeck",
  46. "schema": "sqlite/schema",
  47. "queries": "sqlite/query",
  48. "engine": "sqlite",
  49. "database": {
  50. "uri": "file:ondeck?mode=memory&cache=shared"
  51. },
  52. "rules": [
  53. "sqlc/db-prepare"
  54. ],
  55. "emit_json_tags": true,
  56. "emit_prepared_queries": true,
  57. "emit_interface": true
  58. }
  59. ]
  60. }