Skip to content

Commit b92e403

Browse files
feat(grammars): add kusto (KQL) (#324)
1 parent 798cd92 commit b92e403

5 files changed

Lines changed: 710 additions & 0 deletions

File tree

demo/db/db.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2837,6 +2837,24 @@
28372837
"id": "cj0IfumH",
28382838
"createdAt": 1659688801793,
28392839
"updatedAt": 1659688919992
2840+
},
2841+
{
2842+
"isDeleted": false,
2843+
"isFavorites": false,
2844+
"folderId": "J7rNZi7X",
2845+
"tagsIds": [],
2846+
"description": null,
2847+
"name": "Kusto KQL",
2848+
"content": [
2849+
{
2850+
"label": "Fragment 1",
2851+
"language": "kusto",
2852+
"value": "let Events = MyLogTable | where ... ;\nEvents\n| where Name == \"Start\"\n| project Name, City, SessionId, StartTime=timestamp\n| join (Events\n | where Name == \"Stop\"\n | project StopTime=timestamp, SessionId)\n on SessionId\n| project City, SessionId, StartTime, StopTime, Duration = StopTime - StartTime"
2853+
}
2854+
],
2855+
"id": "vH7mmfKH",
2856+
"createdAt": 1673326490808,
2857+
"updatedAt": 1673326641538
28402858
}
28412859
],
28422860
"tags": []

src/renderer/components/editor/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ This is a list of language that supports in massCode.
7373
- JSX
7474
- Julia
7575
- Kotlin
76+
- Kusto (KQL)
7677
- LaTeX
7778
- Latte
7879
- LESS

0 commit comments

Comments
 (0)