Solitude-Software-Solutions / OstrichDB

WIP | A document-based NoSQL, JSON-esque database for local machine use
Apache License 2.0
29 stars 5 forks source link

Deprecate the WITHIN Modifier Token #150

Closed SchoolyB closed 4 days ago

SchoolyB commented 1 week ago

I think it best to completely remove the need for the WITHIN modifier. The recent addition of dot notation allows command input to be so seemless in comparison. Using WITHIN. Using WITHIN can take up more time but using this for the previous versions of OstrichDB forced me to create prompts for users when they wanted to do work on the record level as opposed to something like: FETCH RECORD foo WITHIN CLUSTER bar WITHIN COLLECTION baz.

That being said the next steps would be to essentially remove a few hundred lines of code/comments and documentation.