mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Revert auto-quoting in Web UI
This commit is contained in:
parent
b7469acb04
commit
d9ad819fe9
1 changed files with 1 additions and 13 deletions
|
|
@ -119,19 +119,7 @@ export const QueryContainer: FC<{}> = () => {
|
|||
setLoading(false);
|
||||
}
|
||||
} else {
|
||||
let queryArr = query.split(' ');
|
||||
queryArr.forEach((word, idx) => {
|
||||
if (word.includes('-')) {
|
||||
let wordArr = word.split('.');
|
||||
wordArr.forEach((section, idx) => {
|
||||
if (section.includes('-') && !word.includes('`')) {
|
||||
wordArr[idx] = `\`${wordArr[idx]}\``;
|
||||
}
|
||||
});
|
||||
queryArr[idx] = wordArr.join('.');
|
||||
}
|
||||
});
|
||||
querySQL(queryArr.join(' '), handleQueryMessages, handleQueryEnd);
|
||||
querySQL(query, handleQueryMessages, handleQueryEnd);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue