vitess.io/vitess@v0.16.2/examples/region_sharding/lookup_vindex.json (about)

     1  {
     2    "sharded": true,
     3    "vindexes": {
     4      "customer_region_lookup": {
     5        "type": "consistent_lookup_unique",
     6        "params": {
     7          "table": "main.customer_lookup",
     8          "from": "id",
     9          "to": "keyspace_id"
    10        },
    11        "owner": "customer"
    12      }
    13    },
    14    "tables": {
    15      "customer": {
    16        "column_vindexes": [
    17          {
    18            "column": "id",
    19            "name": "customer_region_lookup"
    20          }
    21        ]
    22      }
    23    }
    24  }