The Great Rename
Since we started KtMongo, some naming and structural decisions have been discovered to be suboptimal. This MR reorganizes all of them.
After this is merged, no future major changes are planned.
-
….dsl.expr→….dsl.query, because "expression" is tied to aggregations in the official documentation. -
FilterOperators,UpdateOperators, etc →FilterQuery,UpdateQuerybecause they are collectively called "query operators" in the official documentation. -
FilterExpression,UpdateExpressionhave been removed from the public API and replaced by factory methods, to reduce API surface. -
….dsl.models→….dsl.command, because that's how the official documentation refers to them. -
Expression(and its hierarchy) has been renamed toBsonNodeand moved from….dsl.expr.commonto….dsl.treecloser toNode, to make their relationship more explicit and more a package. -
….dsl.optionshave been moved to their respective command class. -
….dsl.options.commonhave been moved to….dsl.optionsto remove a package. -
ValueDsl→AggregationOperators. I was considering naming it something that contains "Expression" but couldn't find a good name.
Closes #35 (closed)
Edited by Ivan “CLOVIS” Canet