Commit Graph

513 Commits

Author SHA1 Message Date
Raymond Feng 0fd167a41d Use DEBUG or NODE_DEBUG env to override the debug flag 2013-08-18 23:11:32 -07:00
Raymond Feng 9482d3c7de Fix the where option for delete 2013-08-18 10:58:53 -07:00
Raymond Feng 705a1fc2c9 Update the remote methods 2013-08-16 16:44:31 -07:00
Ritchie Martori d5ab26509a Merge pull request #1 from strongloop/id-fix
Fix the id references to allow custom name other than 'id'
2013-08-16 14:46:50 -07:00
Raymond Feng 29c95a4ec7 Remove the deletion of property type as the instane is shared by the base model class 2013-08-15 16:50:50 -07:00
Raymond Feng 281cc38017 Fix the id references to allow custom name other than 'id' 2013-08-14 23:14:44 -07:00
Raymond Feng 8aec0a3b47 Add missing declaration 2013-08-14 17:32:38 -07:00
Raymond Feng 6c0f2483b3 Update jsdocs 2013-08-13 09:37:27 -07:00
Raymond Feng 2e20df2dd3 Add docs.json and jsdocs 2013-08-09 15:16:32 -07:00
Raymond Feng d3bf5c20ac Add an optional models argument to automigrate/autoupdate 2013-08-08 08:30:26 -07:00
Raymond Feng 0a5c0ff77d Refactor introspection to ModelBuilder 2013-08-07 14:51:32 -07:00
Raymond Feng f3443959a1 Rename 'loopback-data' to 'loopback-datasource-juggler' 2013-07-30 14:10:03 -07:00
Raymond Feng 7ce6cfc9ab Allows connector property to be a string 2013-07-30 10:52:30 -07:00
Ritchie Martori 08505d1e78 Add required validation 2013-07-28 13:17:12 -07:00
Raymond Feng 57c181c8b9 Bring up json object introspection to build models 2013-07-26 13:06:43 -07:00
Raymond Feng 0e4162af2a Fix the constructor 2013-07-25 22:39:16 -07:00
Raymond Feng 1109f671da Add precision/scale for sync discovery 2013-07-25 15:20:19 -07:00
Raymond Feng dcada03c43 Add precision/scale 2013-07-25 15:06:00 -07:00
Raymond Feng 630aad2071 Refactor types out 2013-07-25 07:48:31 -07:00
Raymond Feng adb724e3b2 Fix the ref to dataSource 2013-07-24 22:58:57 -07:00
Raymond Feng 9b422752a6 Allows non-strict mode to accept unknown properties 2013-07-24 22:58:57 -07:00
Raymond Feng 96787ad25f Fix id references 2013-07-24 22:58:57 -07:00
Ritchie 5bf2d1ff23 Add root true to remote methods 2013-07-24 17:21:35 -07:00
Raymond Feng 752aedb80d Rename adapters to connectors 2013-07-23 14:40:44 -07:00
Raymond Feng ac76666b7b Set up connector from the data source 2013-07-23 13:19:35 -07:00
Raymond Feng 1970c99424 Rename dataSource() to avoid conflicts with the property 2013-07-23 12:44:04 -07:00
Raymond Feng 4df5a02676 Fix schema references 2013-07-23 12:16:12 -07:00
Raymond Feng 9b169efc8c Set up connector/adapter when postInit is not called 2013-07-23 12:05:08 -07:00
Raymond Feng 6af4b1ba2f More renames: schema -> dataSource, adapter -> connector 2013-07-23 11:16:43 -07:00
Raymond Feng 127fb32d02 Add the id arg 2013-07-22 09:57:55 -07:00
Raymond Feng b7f7f71b15 Add static deleteById 2013-07-22 09:42:09 -07:00
Raymond Feng 588b328e62 Fix the model prop lookup 2013-07-21 17:27:31 -07:00
Ritchie Martori 22db369fb8 Allow queries to filter fields 2013-07-17 09:05:37 -07:00
Ritchie Martori d4ca20c01a Add filter.fields support to dao and memory connector 2013-07-16 17:53:52 -07:00
Raymond Feng be21815e7b Rename jugglingdb to loopback-data 2013-07-16 11:59:53 -07:00
Ritchie Martori a4247ad59f Remove updateAttribute as remote method 2013-07-15 19:44:29 -07:00
Ritchie Martori 0aa0cabdd4 Fix inherit bug 2013-07-15 18:22:49 -07:00
Ritchie Martori 2de55df939 Fix extend by using util.inherits 2013-07-15 10:44:34 -07:00
Raymond Feng 12c28ce363 Fix typos 2013-07-15 10:38:54 -07:00
Raymond Feng ef671825ff Only flatten array/object for relational DBs 2013-07-12 19:10:42 -07:00
Raymond Feng 8e01e17bdb Add support for nesting objects with an array 2013-07-12 18:59:43 -07:00
Raymond Feng 09ab8356b8 Fix the array data population 2013-07-12 12:36:14 -07:00
Raymond Feng 296b258f35 Add http mapping for create/updateAttributes methods 2013-07-11 16:49:18 -07:00
Raymond Feng aa5bba3bac Fix the ref to getSchemaType 2013-07-11 16:04:28 -07:00
Raymond Feng 194f68468a Add support for nesting schema 2013-07-11 14:24:47 -07:00
Raymond Feng 049f4c0c38 Add Object type 2013-07-11 11:04:31 -07:00
Raymond Feng 12199ad779 Add support to use adapter constructor for initialization 2013-07-11 09:55:26 -07:00
Ritchie Martori 7684fe2946 Change default create method from save to create for remoting 2013-07-02 20:28:00 -07:00
Ritchie Martori c8bfc5802a Add event emitter methods to models. 2013-07-02 14:59:24 -07:00
Ritchie Martori 522291bf08 Add support for extending models 2013-07-01 16:49:43 -07:00