tests/testthat/_snaps/bq-param.md

parameter json doesn't change without notice

Code
  as_bq_params(list(scalar = "a", vector = c("a", "b", "c")))
Output
  [
    {
      "name": "scalar",
      "parameterType": {
        "type": "STRING"
      },
      "parameterValue": {
        "value": "a"
      }
    },
    {
      "name": "vector",
      "parameterType": {
        "type": "ARRAY",
        "arrayType": {
          "type": "STRING"
        }
      },
      "parameterValue": {
        "arrayValues": [
          {
            "value": "a"
          },
          {
            "value": "b"
          },
          {
            "value": "c"
          }
        ]
      }
    }
  ]


Try the bigrquery package in your browser

Any scripts or data that you put into this service are public.

bigrquery documentation built on April 20, 2023, 5:14 p.m.