query-56a179c3ef725c5ffe95f7c71f2e5f195072bcbc139737eab10b83a50e6c72a1.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "db_name": "PostgreSQL",
  3. "query": "INSERT INTO redirect_uris (id, uri, kind, description, created_by, created_at, updated_at) VALUES ($1, $2, $3, $4, $5, now(), now()) ON CONFLICT (uri, kind) DO UPDATE SET updated_at = now() RETURNING id, uri, kind, enabled, description, created_by, created_at, updated_at",
  4. "describe": {
  5. "columns": [
  6. {
  7. "ordinal": 0,
  8. "name": "id",
  9. "type_info": "Uuid",
  10. "origin": {
  11. "Table": {
  12. "table": "redirect_uris",
  13. "name": "id"
  14. }
  15. }
  16. },
  17. {
  18. "ordinal": 1,
  19. "name": "uri",
  20. "type_info": "Text",
  21. "origin": {
  22. "Table": {
  23. "table": "redirect_uris",
  24. "name": "uri"
  25. }
  26. }
  27. },
  28. {
  29. "ordinal": 2,
  30. "name": "kind",
  31. "type_info": "Text",
  32. "origin": {
  33. "Table": {
  34. "table": "redirect_uris",
  35. "name": "kind"
  36. }
  37. }
  38. },
  39. {
  40. "ordinal": 3,
  41. "name": "enabled",
  42. "type_info": "Bool",
  43. "origin": {
  44. "Table": {
  45. "table": "redirect_uris",
  46. "name": "enabled"
  47. }
  48. }
  49. },
  50. {
  51. "ordinal": 4,
  52. "name": "description",
  53. "type_info": "Text",
  54. "origin": {
  55. "Table": {
  56. "table": "redirect_uris",
  57. "name": "description"
  58. }
  59. }
  60. },
  61. {
  62. "ordinal": 5,
  63. "name": "created_by",
  64. "type_info": "Uuid",
  65. "origin": {
  66. "Table": {
  67. "table": "redirect_uris",
  68. "name": "created_by"
  69. }
  70. }
  71. },
  72. {
  73. "ordinal": 6,
  74. "name": "created_at",
  75. "type_info": "Timestamptz",
  76. "origin": {
  77. "Table": {
  78. "table": "redirect_uris",
  79. "name": "created_at"
  80. }
  81. }
  82. },
  83. {
  84. "ordinal": 7,
  85. "name": "updated_at",
  86. "type_info": "Timestamptz",
  87. "origin": {
  88. "Table": {
  89. "table": "redirect_uris",
  90. "name": "updated_at"
  91. }
  92. }
  93. }
  94. ],
  95. "parameters": {
  96. "Left": [
  97. "Uuid",
  98. "Text",
  99. "Text",
  100. "Text",
  101. "Uuid"
  102. ]
  103. },
  104. "nullable": [
  105. false,
  106. false,
  107. false,
  108. false,
  109. false,
  110. true,
  111. false,
  112. false
  113. ]
  114. },
  115. "hash": "56a179c3ef725c5ffe95f7c71f2e5f195072bcbc139737eab10b83a50e6c72a1"
  116. }