Skip to content

Commit

Permalink
Adds test for @@fulltext
Browse files Browse the repository at this point in the history
  • Loading branch information
Ustice committed Feb 19, 2024
1 parent fe4499c commit a54c0f8
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,25 @@ describe('Attribute tests', () => {
}
`);

await loadModel(`
${ prelude }
model A {
id String @id
x String
y String
z String
@@fulltext([x, y, z])
}
model B {
id String @id
x String
y String
z String
@@fulltext([x, y, z], map: "n")
}
`);

await loadModel(`
${prelude}
model A {
Expand Down

0 comments on commit a54c0f8

Please sign in to comment.