Open bruth opened 11 years ago
This is because of the way the DSL is implemented. This is actually a very difficult thing to fix because what happens here is that
copy query clarity.queries.patients from "clarity" to "target"
creates an instance of ToFromTable
. This class has methods like append
or create
, however using this approach, there is no way to ensure that one of those methods gets called. It might be necessary to have these somehow be part of the ToFromTable
constructor as a function argument. You could then check to see if it is set at object creation time and if not, throw an error.
I had this:
and needed this: