synatic / noql

Converts SQL queries to Mongo find or aggregates
https://noql.synatic.dev/
GNU General Public License v3.0
46 stars 12 forks source link

Error if statement is terminated with a `;` #111

Closed TheMiniDriver closed 1 year ago

TheMiniDriver commented 1 year ago
 select * from bob

returns:

{
    "limit": 100,
    "collection": "bob",
    "type": "query"
}

as expected.

However,

 select * from bob;

throws an error:

No FROM specified

Screenshot 2023-03-05 at 12 16 14