jhc-systems / sqlest

Write SQL in Scala
https://jhc-systems.github.io/sqlest/latest/api/
Apache License 2.0
30 stars 17 forks source link

Add a table function for creating a temporary table for a statement #76

Closed CHAZOTA closed 7 years ago

CHAZOTA commented 7 years ago

New Table Function to allow writing of queries over temporary tables.

codecov-io commented 7 years ago

Codecov Report

Merging #76 into master will increase coverage by 0.11%.

@@            Coverage Diff             @@
##           master      #76      +/-   ##
==========================================
+ Coverage   81.57%   81.69%   +0.11%     
==========================================
  Files          42       43       +1     
  Lines        1140     1147       +7     
  Branches      100      100              
==========================================
+ Hits          930      937       +7     
  Misses        210      210
Impacted Files Coverage Δ
sqlest/src/main/scala/sqlest/package.scala 100% <ø> (ø) :white_check_mark:
sqlest/src/main/scala/sqlest/ast/Relation.scala 86.95% <ø> (ø) :white_check_mark:
...scala/sqlest/ast/operations/ColumnOperations.scala 94.91% <100%> (+0.08%) :white_check_mark:
...rc/main/scala/sqlest/sql/DB2StatementBuilder.scala 81.03% <100%> (+0.33%) :white_check_mark:
.../scala/sqlest/ast/syntax/TableFunctionSyntax.scala 100% <100%> (ø)
...n/scala/sqlest/sql/base/BaseStatementBuilder.scala 90.9% <100%> (+0.08%) :white_check_mark:
...scala/sqlest/sql/base/SelectStatementBuilder.scala 97.01% <100%> (+0.09%) :white_check_mark:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9a66765...52adaa8. Read the comment docs.

DavidGregory084 commented 7 years ago

Perfect, thanks @CHAZOTA!