Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wjhuang2016 committed Apr 5, 2019
1 parent a5f5029 commit 6ea2ec8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion expression/expression.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,12 @@ type Expression interface {
// IsCorrelated checks if this expression has correlated key.
IsCorrelated() bool

// ConstItem checks if this expression refers to a table.
// ConstItem checks if this expression is constant item, regardless of query evaluation state.
// An expression is constant item if it:
// refers no tables.
// refers no subqueries that refers any tables.
// refers no non-deterministic functions.
// refers no statement parameters.
ConstItem() bool

// Decorrelate try to decorrelate the expression by schema.
Expand Down

0 comments on commit 6ea2ec8

Please sign in to comment.