Open ndchorley opened 6 years ago
Same error here, @orangy Can you explain us something about it?
Looks like you'd have to use "from"
from(Citizens).select(Citizens.name, Citizens.id).where { Citizens.name eq "name" }
I'm looking at the benchmarks file: https://github.com/orangy/squash/blob/master/squash-benchmarks/src/org/jetbrains/squash/benchmarks/QueryBenchmark.kt
May be you need to import another package – there are few query
functions there, and that's something we should fix.
I'm not able to find correct query import. Would you please provide the correct import?
Yes, @rascala was right, and I was wrong. You need from
there.
Just going through issues and it looks like this is already done. @orangy , anything else you'd like done in order to close this issue? I can certainly provide more examples and documentation now that I've found my way around if you like.
In the readme, there is
This won't compile -
query
takes an argument of typeQueryObject
andTableDefinition
doesn't inherit from that.