Skip to content

yuriymyrosh/typeorm-text-search

Repository files navigation

Text search for typeorm

Requirements

Dependency version
node > 10
typeorm ^0.2.25

Installation:

npm i --save typeorm-text-search

Usage

import { textSearchByFields } from 'typeorm-text-search';

const queryBuilder = await connection.createQueryBuilder(User, "user");
textSearchByFields<User>(queryBuilder, 'SearchTerm', ['fields', 'to', 'search by']);

const users = queryBuilder.getMany();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published