Search from all databases

hi , i need help about search from all data bases
how can i add more data bases
wixData.query(‘city’ and more datas) ?

See the documentation on database collections and the wix-data API .

i cant find answer to my question.
i wrire like that

import wixData from ‘wix-data’;

//For full API documentation, including code examples visit Velo API Reference - Wix.com

$w.onReady( function () {
//TODO: import wixData from ‘wix-data’;
});

export function searchButton_onClick(event) {
wixData.query(“Courier_2013_2018”,“Custom_2013_2018”)
.contains(‘nomre’, $w(‘#input1’).value)
.find()
.then(res => {
$w(‘#table1’).rows = res.items;
});
}

but it doesn’t work

You can’t perform a query on two collections at one time. You should consider using references fields .