Skip to content

Commit

Permalink
release v - 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwalguptaofficial committed May 19, 2021
1 parent 1c40614 commit 94a58c5
Show file tree
Hide file tree
Showing 10 changed files with 1,075 additions and 1,614 deletions.
25 changes: 1 addition & 24 deletions dist/grammar.pegjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
query = selectQuery/countQuery/insertQuery/updateQuery/removeQuery/createQuery/openQuery/isDbExistQuery ;
query = selectQuery/countQuery/insertQuery/updateQuery/removeQuery/createQuery/openQuery ;

createQuery = db:createDbQuery tables:createTableQuery* {
db.tables=tables
Expand Down Expand Up @@ -689,29 +689,6 @@ openQuery = OPENDB _* name:dbName {
}
}

isDbExistQuery = ISDBEXIST _* name:dbName _* tblInfo: tableInfo? {
var result = {
api:'isDbExist'
}
if(tblInfo==null){
result.data=name;
}
else{
result.data={
dbName:name,
table:tblInfo
}
}
return result;
}

tableInfo = TABLE _* table:tableName _* ver:version {
return {
name:table,
version:ver
}
}

tableName "table name" = Identifier

dbName "database name" = Identifier
Expand Down
Loading

0 comments on commit 94a58c5

Please sign in to comment.