0.2.0 • Published 9 months ago

@criterium/kysely v0.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

@criterium/kysely

@criterium/kysely allow to use mongo-like filters with kysely

install

npm i @criterium/kysely

usage

import filter from '@criterium/kysely';
import { db } from '/db';

const results = await db.selectFrom('person')
  .selectAll()
  .where(filter({
    name: { 
      $in: ['John'] 
    }
  })).execute();
0.2.0

9 months ago

0.1.0

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago