-
Is it possible to insert logic into expressions?
`expr = "true ? 1 : 0"`
or
`expr = "if true { 1 } else { 0 }"`
-
**2018年10月11日更新:**
截至`3.6.11`,`evalExpr`支持了执行调用表达式(readCall)
---
**2018年9月2日更新:**
随着 San 的版本迭代,截至`3.6.7`,`parseExpr`支持了新的特性:
- `parseExpr`支持解析调用(readCall),但`evalExpr`中并没有相应的支持:https://g…
-
I have a bunch of form fields of various types, including fixed-size arrays (tuples). I have to send the changes to a separate service for syncing, and until now, I've just been sending the whole obje…
-
This is occurring in the latest `master` commit 9a17fbb:
I have been noticing some problems with a number of queries resulting in `runtime error: index out of range` messages.
* I'm running a Gr…
-
### Description
It fails to evaluate this
```
{|@, @item| (0, 1), (2, 3)}
```
It is an array with a gap as there is no item at index one, but internally it still thinks that it's an array and f…
-
## Short description
`sprintf` now can panic when given malformed format strings. However, this is a difficult `panic` to invoke outside of direct use of the parser/evaluation functions in Golang.…
-
Jira Link: [DB-12913](https://yugabyte.atlassian.net/browse/DB-12913)
### Description
## Basic Information
Version:
```
PostgreSQL 11.2-YB-2.21.1.0-b0 on x86_64-pc-linux-gnu, compiled by clang …
-
### Bug description
Tested with expression: `hour(from_unixtime(9.98489045321E8))`
[Expected behavior]
In Presto:
```
presto> select hour(from_unixtime(9.98489045321E8));
_col0
-------
…
-
```rust
#[test]
fn it_works() {
let mut context = HashMapContext::new();
// context.set_value("a".into(), false.into()).unwrap();
let x = eval_boolean_with_context…
-
| Field | Description |
|--------------|-------------|
| Plugin | `lsp` |
| Nixpkgs | `unstable` |
| Home Manager | `unstable` |
- [x] I have read the [FAQ](https://nix-…