rockdai / sql-bricks

Transparent, Schemaless SQL Generation
http://csnw.github.io/sql-bricks
MIT License
213 stars 25 forks source link

Add _extension() helper #56

Closed prust closed 10 years ago

prust commented 10 years ago

This is an iteration on @Suor's #55:

prust commented 10 years ago

@Suor: I made some minor tweaks to your pull request, mostly code style, but also switched to an alternative method of using apply() with new.

Please let me know if this works for you (I did test it with an empty extension and applied the applyNew() change to sql-bricks-postgres and the tests there passed, but I haven't run the sql-bricks-postgres tests with all these changes)

Suor commented 10 years ago

I found a bug (my own) and fixed it in https://github.com/CSNW/sql-bricks/pull/57.