hediet/ts-typed-sql
A fully typed sql builder. Not maintained anymore, use it for your inspiration.
JavaScript
Issues
- 0
single / singleOrUndefined misleadingly add limit 2 to queries with limit 1 leading to "More than one row returned"
#41 opened by phiresky - 0
ISOLATION LEVEL is ignored
#40 opened by phiresky - 1
Allow getting result meta information
#34 opened by phiresky - 3
Project status?
#37 opened by pauldraper - 2
Cannot select expression
#38 opened by phiresky - 0
sum() function return type depends on input type
#36 opened by phiresky - 1
Broken on non-windows
#35 opened by phiresky - 2
- 2
Put types in their own namespace
#17 opened by phiresky - 4
skipQuotingIfNotRequired is buggy
#31 opened by phiresky - 2
typescript >= 2.6 compatibility
#29 opened by phiresky - 1
or function is missing
#25 opened by hediet - 1
.unionAll outputs UNION instead of UNION ALL
#23 opened by phiresky - 0
Subquery in insertInto fails with "TypeError: Converting circular structure to JSON"
#30 opened by phiresky - 3
- 0
cast precedence error
#28 opened by phiresky - 0
Typed Errors
#27 opened by phiresky - 0
- 7
Alternative Solution
#24 opened by vitaly-t - 2
Move fromItemToOutRow to table instance it self
#10 opened by phiresky - 1
SQL query that returns no rows
#22 opened by phiresky - 0
between operator
#21 opened by phiresky - 4
Allow setting transaction isolation level
#4 opened by phiresky - 0
Cannot add date, time, interval, etc.
#20 opened by phiresky - 0
CASE expression
#19 opened by phiresky - 0
count returns bigint not IntegerType
#18 opened by phiresky - 1
FromItemToOutRow
#8 opened by phiresky - 2
Add more known function invocations
#6 opened by phiresky - 1
oneOrUndefined / singleOrNone
#16 opened by phiresky - 3
debug log sql statements using require('debug')
#12 opened by phiresky - 1
values params not correctly escaped (uppercase)
#14 opened by phiresky - 0
Parameterized queries fail with > 30k params
#15 opened by phiresky - 0
Output some warning when doing `x = x`
#13 opened by phiresky - 0
tDate is completely broken
#11 opened by phiresky - 0
Timestamptz type
#9 opened by phiresky - 2
Allow tuples
#1 opened by phiresky - 0
tBigInteger should have .add etc.
#5 opened by phiresky - 0
Allow SELECT FOR SHARE / FOR UPDATE
#3 opened by phiresky - 0
Allow INSERT ... ON CONFLICT *
#2 opened by phiresky