diff --git a/web/book/src/reference/stdlib/transforms/from.md b/web/book/src/reference/stdlib/transforms/from.md index db93f7b52986..b4783cedec7c 100644 --- a/web/book/src/reference/stdlib/transforms/from.md +++ b/web/book/src/reference/stdlib/transforms/from.md @@ -8,6 +8,13 @@ from table_reference Table names containing schemas, keywords, or special characters [need to be contained within backticks](../../syntax/keywords.md#quoting). +`default_db.tablename` can be used if the table name matches a function from the +standard library. + +```prql +default_db.group +take 1 +``` ## Examples diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__from__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__from__0.snap new file mode 100644 index 000000000000..425930ea14c1 --- /dev/null +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__from__0.snap @@ -0,0 +1,11 @@ +--- +source: web/book/tests/documentation/book.rs +expression: "default_db.group\ntake 1\n" +--- +SELECT + * +FROM + "group" +LIMIT + 1 +