We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8c7b3e + 05b80a2 commit 7485116Copy full SHA for 7485116
crates/parser/src/codegen.rs
@@ -106,6 +106,18 @@ mod tests {
106
)
107
}
108
109
+ #[test]
110
+ fn test_select_with_order_by() {
111
+ test_get_node_properties(
112
+ "SELECT a, b, c FROM table1 ORDER BY c;",
113
+ SyntaxKind::SortBy,
114
+ vec![
115
+ TokenProperty::from(SyntaxKind::Order),
116
+ TokenProperty::from(SyntaxKind::By),
117
+ ],
118
+ )
119
+ }
120
+
121
#[test]
122
fn test_create_domain() {
123
test_get_node_properties(
0 commit comments