{
  "db_name": "PostgreSQL",
  "query": "select\n                w.id,\n                w.slug,\n                w.display_name,\n                w.status,\n                w.settings_json,\n                w.created_at as \"created_at!: time::OffsetDateTime\",\n                w.updated_at as \"updated_at!: time::OffsetDateTime\",\n                m.role\n             from memberships m\n             join workspaces w on w.id = m.workspace_id\n             where m.user_id = $1\n             order by w.slug asc",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Text"
      },
      {
        "ordinal": 1,
        "name": "slug",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "display_name",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "status",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "settings_json",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 5,
        "name": "created_at!: time::OffsetDateTime",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 6,
        "name": "updated_at!: time::OffsetDateTime",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 7,
        "name": "role",
        "type_info": "Text"
      }
    ],
    "parameters": {
      "Left": [
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false
    ]
  },
  "hash": "92bd2268efce8ba515b1d502287dea62bdfae0ba66100589ead3f986244b4cbb"
}
