Oracle数据库中有2000个表,我想获取列的哪些表包含 churn ,我该怎么做?
伪代码
for table in database:
for current_column, current_column_comment in table:
if 'churn' in current_column_comment:
print(table, current_column, current_column_comment)
答案 0 :(得分:1)
您可以在所有表格中选择
Vue.component('main-component', {
template: `
<p>This is the main component.
<sub-component>
<template scope="{test}">
<button @click="test()">If this button is presses: "sub-component" must show up. </button>
</template>
</sub-component>
</p>`,
methods: {
test() {
alert('main-component');
}
}
})
Vue.component('sub-component', {
template: '<p>This is sub-component <slot :test="test"></slot> </p>',
methods: {
test() {
alert('sub-component');
}
}
})
var app = new Vue({
el: '#app'
})