{
  "meta": {
    "$_GET": [
      {
        "type": "number",
        "name": "identity"
      }
    ]
  },
  "exec": {
    "steps": {
      "name": "query",
      "module": "dbconnector",
      "action": "single",
      "options": {
        "connection": "authdb",
        "sql": {
          "type": "select",
          "columns": [
            {
              "table": "users",
              "column": "firstname"
            },
            {
              "table": "users",
              "column": "lastname"
            },
            {
              "table": "users",
              "column": "validated"
            },
            {
              "table": "users",
              "column": "email"
            },
            {
              "table": "users",
              "column": "id"
            }
          ],
          "params": [
            {
              "operator": "equal",
              "type": "expression",
              "name": ":P1",
              "value": "{{$_GET.identity}}",
              "test": ""
            }
          ],
          "table": {
            "name": "users"
          },
          "primary": "id",
          "joins": [],
          "wheres": {
            "condition": "AND",
            "rules": [
              {
                "id": "users.id",
                "field": "users.id",
                "type": "double",
                "operator": "equal",
                "value": "{{$_GET.identity}}",
                "data": {
                  "table": "users",
                  "column": "id",
                  "type": "number",
                  "columnObj": {
                    "type": "increments",
                    "primary": true,
                    "unique": false,
                    "nullable": false,
                    "name": "id"
                  }
                },
                "operation": "="
              },
              {
                "id": "users.validated",
                "field": "users.validated",
                "type": "boolean",
                "operator": "not_equal",
                "value": true,
                "data": {
                  "table": "users",
                  "column": "validated",
                  "type": "boolean",
                  "columnObj": {
                    "type": "boolean",
                    "primary": false,
                    "unique": false,
                    "nullable": true,
                    "name": "validated"
                  }
                },
                "operation": "<>"
              }
            ],
            "conditional": null,
            "valid": true
          },
          "query": "select `firstname`, `lastname`, `validated`, `email`, `id` from `users` where `users`.`id` = ? and `users`.`validated` <> ?"
        }
      },
      "output": true,
      "meta": [
        {
          "type": "text",
          "name": "firstname"
        },
        {
          "type": "text",
          "name": "lastname"
        },
        {
          "type": "boolean",
          "name": "validated"
        },
        {
          "type": "text",
          "name": "email"
        },
        {
          "type": "number",
          "name": "id"
        }
      ],
      "outputType": "object"
    }
  }
}