Skip to content

Releases: xialvjun/ts-sql-plugin

Cache

22 Aug 18:06
Compare
Choose a tag to compare

Huge performance improvement of tsserver via cache.

TypeScript 4

25 Aug 12:26
Compare
Choose a tag to compare

For TypeScript 3 please use 0.8.x version

watch mode

20 May 15:15
Compare
Choose a tag to compare

Use --watch flag of cli for realtime sql emit process or notify about errors.

emit sql

07 May 11:22
Compare
Choose a tag to compare
// you can emit sql to explicit file
// this will be emitted to emit-sql/allAttribute.sql file
// you may change `emit-sql` folder to another via `--emit-out-dir` option of cli
const s1 = sql`
  -- ts-sql-plugin:emit("allAttribute")
  select * from subscriptions.attribute
`;

This ability useful for type generation from sql, for example, using tool types-from-sql