Expand typed SQL DSL

This commit is contained in:
pavel 2026-08-28 00:02:32 +02:00
commit 314c8fb207
17 changed files with 1082 additions and 498 deletions

View file

@ -1644,8 +1644,13 @@ var builtinDetails = map[string]string{
"float64": "fun float64(value: Any): Double",
"bool": "fun bool(value: Any): Boolean",
"sql": "typed PostgreSQL query DSL",
"set": "fun set(target: Any, value: Any): Unit",
"now": "fun now(): time.Time",
"count": "fun count(): Long",
"countDistinct": "fun countDistinct(value: Any): Long",
"sum": "fun sum(value: Any): Any",
"avg": "fun avg(value: Any): Double",
"min": "fun min(value: Any): Any",
"max": "fun max(value: Any): Any",
"runBlocking": "fun runBlocking(block: () -> Unit): Unit",
"withContext": "fun withContext(ctx: context.Context, block: () -> Unit): Unit",
"coroutineScope": "contextual fun coroutineScope(block: () -> Unit): Unit",