diff --git a/sqlparser/README.md b/sqlparser/README.md index 27df8c1e..59917933 100644 --- a/sqlparser/README.md +++ b/sqlparser/README.md @@ -64,8 +64,8 @@ final context = final select = context.root as SelectStatement; final resolvedColumns = select.resolvedColumns; -resolvedColumns.map((c) => c.name)); // id, content, id, content, 3 + 4 -resolvedColumns.map((c) => context.typeOf(c).type.type) // int, text, int, text, int, int +resolvedColumns.map((c) => c.name); // id, content, id, content, 3 + 4 +resolvedColumns.map((c) => context.typeOf(c).type.type); // int, text, int, text, int, int ``` ## But why?