Skip to content

Commit e488bfa

Browse files
committed
add from linux wildcard
1 parent 6d2de7a commit e488bfa

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ const OPERAND_COUNT = new Map([
3131
]);
3232

3333

34+
function fromLinuxWildcard(txt) {
35+
return txt? txt.replace(/\*/g, '%').replace(/\?/g, '_') : txt;
36+
}
37+
38+
3439
/**
3540
* Generates SQL command for CREATE TABLE.
3641
* @param {string} nam table name

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "extra-sql",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "SQL is designed for managing or stream processing data in an RDBMS.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)