Permalink
Browse files

initital sync

  • Loading branch information...
steve
steve committed Nov 10, 2012
0 parents commit 56fefec4f85c190f7f1ed750c03af3cf28484769
Showing with 1,532 additions and 0 deletions.
  1. +23 −0 LICENSE
  2. +38 −0 README.md
  3. +417 −0 crud.js
  4. +32 −0 drivers/pg.js
  5. +37 −0 drivers/sqlite.js
  6. +20 −0 drivers/test.js
  7. +14 −0 join.js
  8. +23 −0 main.js
  9. +18 −0 package.json
  10. +114 −0 table.js
  11. +73 −0 tableBuilder.js
  12. +23 −0 tableRegistry.js
  13. +39 −0 test/create.js
  14. +94 −0 test/find.js
  15. +238 −0 test/integration/common/blog.js
  16. +72 −0 test/integration/pg_blog.js
  17. +61 −0 test/integration/sqlite_blog.js
  18. +69 −0 test/join.js
  19. +55 −0 test/remove.js
  20. +49 −0 test/update.js
  21. +1 −0 thin-orm
  22. +22 −0 util.js
23 LICENSE
@@ -0,0 +1,23 @@
+
+(The MIT License)
+
+Copyright (c) 2012 Steve Hurlbut
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,38 @@
+# thin-orm
+
+Thin-orm is a minimalist Object Relational Mapper (ORM). Thin-orm provides you with a
+mongodb inspired API for accessing your favorite SQL database (as long as your favorite
+is postgresql or mysql.
+
+bloat-free
+
+The _thin_ in thin-orm means that very little processing is done; your queries will run
+just about as fast as if you had written them in native SQL.
+
+Thin-orm sits on top of a node client for your database. It uses the following clients:
+* postgres: pg
+* mysql: something
+
+
+## Installation
+
+```bash
+npm install thin-orm
+npm install pg # required for postgres
+npm install mysql # required for mysql
+```
+
+## How to use
+
+First, require `socket.io`:
+
+```js
+var io = require('socket.io');
+```
+
+Next, attach it to a HTTP/HTTPS server. If you're using the fantastic `express`
+web framework:
+
+## License
+
+MIT
Oops, something went wrong.

0 comments on commit 56fefec

Please sign in to comment.