Commit Graph

1009 Commits

Author SHA1 Message Date
Ritchie Martori 0a3e642c9e Fix memory adapter updateAttributes issue.
Callback with an error if an id was not provided or if a model was not
found by that id.
2013-06-21 14:56:23 -07:00
Raymond Feng 4940187663 Fix the schema building 2013-06-21 14:15:24 -07:00
Raymond Feng 3830f0bfda Normalize the schema definition 2013-06-21 14:04:24 -07:00
Raymond Feng a6ad39ba0f Update the discover apis to take options 2013-06-20 15:51:24 -07:00
Michael Schoonmaker bc62d28b12 Removed a stray log. 2013-06-19 13:15:57 -07:00
Raymond Feng 3b731b1a12 Move the _operations={} up 2013-06-18 14:44:30 -07:00
Raymond Feng 72e8e7230f Work around the JDB test coverage tool limitation. See https://github.com/1602/semicov 2013-06-18 12:07:13 -07:00
Raymond Feng b3e98f0c6f Pass in the options 2013-06-18 11:50:13 -07:00
Ritchie 502b0512d3 Support string types when defining properties 2013-06-17 16:42:13 -07:00
Ritchie d442c40f25 Rename discoverModels to discoverModelDefinitions 2013-06-17 11:43:20 -07:00
Ritchie 25f2920e95 Handle separate settings and adapter objects 2013-06-17 07:54:51 -07:00
Ritchie 864135e0e4 Remove console log 2013-06-17 07:39:31 -07:00
Ritchie 473dd794ef Fix missing settings 2013-06-14 14:22:51 -07:00
Ritchie bf83a76eae Fix missing connector alias 2013-06-14 13:56:44 -07:00
Ritchie b78050410d Merge branch 'asteroid-0.7'
Conflicts:
	lib/datasource.js
2013-06-13 16:27:31 -07:00
Ritchie Martori 7e23393e99 Fixed memory adapter filtering + asteroid compatibility upddates 2013-06-12 15:45:31 -07:00
Raymond Feng 2b91d2d89b Update inflection 2013-06-11 16:11:37 -07:00
Raymond Feng a47bc15e64 Make sure options is present 2013-06-11 14:56:26 -07:00
Ritchie 3628bd5be8 Fix remoteEnabled bug 2013-06-11 11:11:10 -07:00
Ritchie Martori 51d4a74264 Revert "Asteroid 0.7 updates"
This reverts commit c87abafec8.
2013-06-11 09:04:37 -07:00
Ritchie Martori c87abafec8 Asteroid 0.7 updates 2013-06-11 09:03:11 -07:00
Raymond Feng 36c22ab972 Adjust the mixins 2013-06-05 14:34:05 -07:00
Ritchie Martori adf7c49c91 Allow dao.find() and exists() to take any type for id 2013-06-05 07:39:26 -07:00
Raymond Feng 24a1c76c59 Fix the receiver 2013-06-03 08:51:17 -07:00
Raymond Feng 567efc5698 Add discoverExportedForeignKeys 2013-06-02 23:00:11 -07:00
Raymond Feng a2da90867f Add sync versions of discovery 2013-06-01 23:03:25 -07:00
Raymond Feng 56af9673c1 Avoid duplicate connecting 2013-05-31 13:40:50 -07:00
Raymond Feng 9d74759f90 Improve connect/disconnect 2013-05-31 13:10:09 -07:00
Ritchie 1bb8047b57 Merge branch 'master' of github.com:strongloop/jugglingdb 2013-05-31 10:28:05 -07:00
Ritchie 5f26eba571 Add plural name to models 2013-05-31 10:27:52 -07:00
Raymond Feng 7b861c2aac Update buildModels and support associations via foreign keys 2013-05-31 10:25:11 -07:00
Raymond Feng 2d62b5ba6a Add support to discover related schemas by foreign keys 2013-05-30 23:13:04 -07:00
Raymond Feng ad14bd9dbc Add more debugging info 2013-05-30 17:23:31 -07:00
Raymond Feng 8912defe8e Enhance support for composite keys 2013-05-30 16:06:04 -07:00
Raymond Feng d9998d8294 Update column type info 2013-05-29 10:03:01 -07:00
Raymond Feng 6255da2ae0 Fix mixin 2013-05-29 07:17:07 -07:00
Raymond Feng 771bf70ec5 Add options including default 2013-05-28 15:40:16 -07:00
Raymond Feng 2a15926318 Add test cases for loading json doc 2013-05-28 15:26:12 -07:00
Raymond Feng 465a963d2d Adding more tests 2013-05-28 13:50:59 -07:00
Raymond Feng dd8512bc1f Refactor more functions into mixins 2013-05-27 22:20:43 -07:00
Ritchie Martori 50b2036511 Update remoting signatures for dao. 2013-05-24 15:10:34 -07:00
Ritchie 0a8df17135 Merge branch 'master' of github.com:strongloop/jugglingdb 2013-05-24 08:03:11 -07:00
Ritchie ae9cb9a6f2 Add pluralized name to model and remoting method signatures 2013-05-24 08:02:58 -07:00
Raymond Feng 98690a4881 Add docs 2013-05-23 22:40:33 -07:00
Raymond Feng dea07f3a02 Rename adl to be ModelBuilder 2013-05-23 22:20:20 -07:00
Raymond Feng a014fddd8a Add more methods to map column/property names 2013-05-23 21:09:46 -07:00
Ritchie a690f8d8df Add data source attach example 2013-05-23 17:29:03 -07:00
Ritchie 1dee840de5 Add ability to attach data source to an existing model 2013-05-23 16:38:14 -07:00
Raymond Feng 2c2768e929 Fix the mapping 2013-05-23 10:46:01 -07:00
Raymond Feng e51bd2d360 Fix the column mapping 2013-05-22 18:04:05 -07:00