mirror of https://github.com/AMT-Cheif/drift.git
parent
727c30aa6b
commit
882b789c1b
|
@ -64,8 +64,8 @@ final context =
|
||||||
final select = context.root as SelectStatement;
|
final select = context.root as SelectStatement;
|
||||||
final resolvedColumns = select.resolvedColumns;
|
final resolvedColumns = select.resolvedColumns;
|
||||||
|
|
||||||
resolvedColumns.map((c) => c.name)); // id, content, id, content, 3 + 4
|
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) => context.typeOf(c).type.type); // int, text, int, text, int, int
|
||||||
```
|
```
|
||||||
|
|
||||||
## But why?
|
## But why?
|
||||||
|
|
Loading…
Reference in New Issue