Daemach
Daemach
Yep, I'm using wirebox to inject querybuilder as qb. Using getinstance() would be even more verbose than newQuery(). I'm just trying to reduce typing :) A nq() alias would work...
And fwiw, it would be really cool to be able to say .chunk('auto', ()=>{}) and have the function divide 2100 (for SQLS) by the number of fields in the select...
I tried a number of things but this is the only way to make it work. ``` schema.alter( "mars_in_wash_sales", function( table ) { table.dropConstraint( table.default( "shares" ) ); table.dropColumn( "shares"...
It did. .default(0) created with schemabuilder.
It looks like "drop constraint if exists" should work: https://www.mssqltips.com/sqlservertip/4402/new-drop-if-exists-syntax-in-sql-server-2016/
I forgot the table.addConstraint() wrapper. However, when I added this, I got the error message mentioned in here: https://stackoverflow.com/questions/48864425/getting-error-the-operation-alter-table-add-index-is-not-supported-with-memory Manually creating the indexes with the code offered in the only...
FWIW https://luceeserver.atlassian.net/browse/LDEV-3751
No luck. 
I would like to beg again for qb to support returntype: struct. I use it quite often, and having to do this is inelegant.