Skip to content

Commit

Permalink
snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed Apr 1, 2024
1 parent 350fdc5 commit c574cac
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions packages/parser/__tests__/__snapshots__/meta.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -49,42 +49,3 @@ exports[`AST to AST to create AST — meta 🤯 2`] = `
op: "SETOP_NONE"
})"
`;

exports[`works 1`] = `
"ast.selectStmt({
targetList: [ast.resTarget({
val: ast.columnRef({
fields: [ast.aStar({})],
location: 7
}),
location: 7
})],
fromClause: [ast.rangeVar({
relname: "my_table",
inh: true,
relpersistence: "p",
location: 14
})],
whereClause: ast.aExpr({
kind: "AEXPR_OP",
name: [ast.string({
str: "="
})],
lexpr: ast.columnRef({
fields: [ast.string({
str: "id"
})],
location: 29
}),
rexpr: ast.aConst({
val: ast.integer({
ival: 1
}),
location: 34
}),
location: 32
}),
limitOption: "LIMIT_OPTION_DEFAULT",
op: "SETOP_NONE"
})"
`;

0 comments on commit c574cac

Please sign in to comment.