aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/db.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/db.go b/db/db.go
index c3699d7..24c2a31 100644
--- a/db/db.go
+++ b/db/db.go
@@ -57,7 +57,7 @@ func (d *DB) SelectDict(ctx context.Context, query string, limit int) ([]*Word,
`SELECT
word, line
FROM words
- WHERE word MATCH ?
+ WHERE words MATCH ?
ORDER BY rank
LIMIT ?;`,
query, limit,