зеркало из https://github.com/github/vitess-gh.git
320 строки
4.9 KiB
JSON
320 строки
4.9 KiB
JSON
[
|
|
{
|
|
"Name": "a",
|
|
"Columns": [
|
|
{
|
|
"Name": "eid",
|
|
"Category": 1,
|
|
"IsAuto": false,
|
|
"Default": 0
|
|
},
|
|
{
|
|
"Name": "id",
|
|
"Category": 1,
|
|
"IsAuto": false,
|
|
"Default": 0
|
|
},
|
|
{
|
|
"Name": "name",
|
|
"Category": 0,
|
|
"IsAuto": false,
|
|
"Default": "MA=="
|
|
},
|
|
{
|
|
"Name": "foo",
|
|
"Category": 0,
|
|
"IsAuto": false,
|
|
"Default": "MA=="
|
|
},
|
|
{
|
|
"Name": "CamelCase",
|
|
"Category": 0,
|
|
"IsAuto": false,
|
|
"Default": "MA=="
|
|
}
|
|
],
|
|
"Indexes": [
|
|
{
|
|
"Name": "PRIMARY",
|
|
"Columns": [
|
|
"eid",
|
|
"id"
|
|
],
|
|
"Cardinality": [
|
|
1,
|
|
1
|
|
],
|
|
"DataColumns": [
|
|
"eid",
|
|
"id",
|
|
"name",
|
|
"foo"
|
|
]
|
|
},
|
|
{
|
|
"Name": "a_name",
|
|
"Columns": [
|
|
"eid",
|
|
"name"
|
|
],
|
|
"Cardinality": [
|
|
1,
|
|
1
|
|
],
|
|
"DataColumns": [
|
|
"eid",
|
|
"name",
|
|
"id"
|
|
]
|
|
},
|
|
{
|
|
"Name": "b_name",
|
|
"Columns": [
|
|
"name"
|
|
],
|
|
"Cardinality": [
|
|
3
|
|
],
|
|
"DataColumns": [
|
|
"name",
|
|
"eid",
|
|
"id"
|
|
]
|
|
},
|
|
{
|
|
"Name": "c_name",
|
|
"Columns": [
|
|
"name"
|
|
],
|
|
"Cardinality": [
|
|
2
|
|
],
|
|
"DataColumns": [
|
|
"name",
|
|
"eid",
|
|
"id"
|
|
]
|
|
}
|
|
],
|
|
"PKColumns": [
|
|
0,
|
|
1
|
|
],
|
|
"Type": 0
|
|
},
|
|
{
|
|
"Name": "b",
|
|
"Columns": [
|
|
{
|
|
"Name": "eid",
|
|
"Category": 1,
|
|
"IsAuto": false,
|
|
"Default": 0
|
|
},
|
|
{
|
|
"Name": "id",
|
|
"Category": 1,
|
|
"IsAuto": false,
|
|
"Default": 0
|
|
}
|
|
],
|
|
"Indexes": [
|
|
{
|
|
"Name": "PRIMARY",
|
|
"Columns": [
|
|
"eid",
|
|
"id"
|
|
],
|
|
"Cardinality": [
|
|
1,
|
|
1
|
|
],
|
|
"DataColumns": [
|
|
"eid",
|
|
"id",
|
|
"name",
|
|
"foo"
|
|
]
|
|
},
|
|
{
|
|
"Name": "a_name",
|
|
"Columns": [
|
|
"eid",
|
|
"name"
|
|
],
|
|
"Cardinality": [
|
|
1,
|
|
1
|
|
],
|
|
"DataColumns": [
|
|
"eid",
|
|
"name",
|
|
"id"
|
|
]
|
|
},
|
|
{
|
|
"Name": "b_name",
|
|
"Columns": [
|
|
"name"
|
|
],
|
|
"Cardinality": [
|
|
3
|
|
],
|
|
"DataColumns": [
|
|
"name",
|
|
"eid",
|
|
"id"
|
|
]
|
|
},
|
|
{
|
|
"Name": "c_name",
|
|
"Columns": [
|
|
"name"
|
|
],
|
|
"Cardinality": [
|
|
2
|
|
],
|
|
"DataColumns": [
|
|
"eid",
|
|
"id"
|
|
]
|
|
},
|
|
{
|
|
"Name": "PRIMARY",
|
|
"Columns": [
|
|
"eid",
|
|
"id"
|
|
],
|
|
"Cardinality": [
|
|
1,
|
|
1
|
|
],
|
|
"DataColumns": [
|
|
"eid",
|
|
"id"
|
|
]
|
|
}
|
|
],
|
|
"PKColumns": [
|
|
0,
|
|
1
|
|
],
|
|
"Type": 0
|
|
},
|
|
{
|
|
"Name": "c",
|
|
"Columns": [
|
|
{
|
|
"Name": "eid",
|
|
"Category": 1,
|
|
"IsAuto": false,
|
|
"Default": 0
|
|
},
|
|
{
|
|
"Name": "id",
|
|
"Category": 1,
|
|
"IsAuto": false,
|
|
"Default": 0
|
|
}
|
|
],
|
|
"Indexes": [],
|
|
"PKColumns": null,
|
|
"Type": 0
|
|
},
|
|
{
|
|
"Name": "d",
|
|
"Columns": [
|
|
{
|
|
"Name": "name",
|
|
"Category": 2,
|
|
"IsAuto": false,
|
|
"Default": "MA=="
|
|
},
|
|
{
|
|
"Name": "id",
|
|
"Category": 1,
|
|
"IsAuto": false,
|
|
"Default": 0
|
|
},
|
|
{
|
|
"Name": "foo",
|
|
"Category": 0,
|
|
"IsAuto": false,
|
|
"Default": "MA=="
|
|
},
|
|
{
|
|
"Name": "bar",
|
|
"Category": 0,
|
|
"IsAuto": false,
|
|
"Default": "MA=="
|
|
}
|
|
],
|
|
"Indexes": [
|
|
{
|
|
"Name": "PRIMARY",
|
|
"Columns": [
|
|
"name"
|
|
],
|
|
"Cardinality": [
|
|
1
|
|
],
|
|
"DataColumns": [
|
|
"name"
|
|
]
|
|
},
|
|
{
|
|
"Name": "d_id",
|
|
"Columns": [
|
|
"id"
|
|
],
|
|
"Cardinality": [
|
|
1
|
|
],
|
|
"DataColumns": [
|
|
"name"
|
|
]
|
|
},
|
|
{
|
|
"Name": "d_bar_never",
|
|
"Columns": [
|
|
"bar",
|
|
"foo"
|
|
],
|
|
"Cardinality": [
|
|
2,
|
|
1
|
|
],
|
|
"DataColumns": [
|
|
"name"
|
|
]
|
|
},
|
|
{
|
|
"Name": "d_bar",
|
|
"Columns": [
|
|
"bar",
|
|
"foo"
|
|
],
|
|
"Cardinality": [
|
|
3,
|
|
1
|
|
],
|
|
"DataColumns": [
|
|
"name"
|
|
]
|
|
}
|
|
],
|
|
"PKColumns": [
|
|
0
|
|
],
|
|
"Type": 0
|
|
},
|
|
{
|
|
"Name": "seq",
|
|
"Type": 1
|
|
},
|
|
{
|
|
"Name": "dual",
|
|
"Type": 0
|
|
}
|
|
]
|