5
我正在浏览Ecto文档,当我到达插值部分时,Ecto使用Circumflex(^)符号,就像这样。Elixir中的Circumflex标志/ Pin/Cap操作符(^)做了什么?
def with_minimum(age, height_ft) do
from u in User,
where: u.age > ^age and u.height > ^(height_ft * 3.28)
end
让我想知道它是做什么的? :-)