mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-14 15:59:03 +00:00
Support arbitrary composite access expressions (#1600)
This commit is contained in:
parent
84e82e6e2e
commit
cd898cb6a4
3 changed files with 96 additions and 20 deletions
|
@ -640,7 +640,7 @@ pub enum Expr {
|
|||
/// The path to the data to extract.
|
||||
path: JsonPath,
|
||||
},
|
||||
/// CompositeAccess (postgres) eg: SELECT (information_schema._pg_expandarray(array['i','i'])).n
|
||||
/// CompositeAccess eg: SELECT foo(bar).z, (information_schema._pg_expandarray(array['i','i'])).n
|
||||
CompositeAccess {
|
||||
expr: Box<Expr>,
|
||||
key: Ident,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue