Commit Graph

492 Commits

Author SHA1 Message Date
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
Ritchie Martori dbd5efed50 Revert adapter serialization. Remove geo point distance indicator. 2013-07-01 13:16:51 -07:00
Ritchie Martori e6a88ac254 Add properties to ModelClass during definition 2013-06-27 18:25:42 -07:00
Ritchie ce63ef9ac2 Fix global leak and incorrect var 2013-06-27 12:21:31 -07:00
Raymond Feng 64da1d441a Add alias to destroy/destroyAll 2013-06-25 21:08:34 -07:00
Raymond Feng 0ae61d3b53 Alias destroy/destroyAll 2013-06-25 20:36:08 -07:00
Ritchie Martori 6cb53e5001 Add in memory geo filtering. 2013-06-25 20:31:00 -07:00
Ritchie Martori d730aab674 Move geo filter creation into reusable module. 2013-06-24 16:38:50 -07:00
Ritchie Martori 572445de39 Rename long to lng 2013-06-24 15:32:34 -07:00
Ritchie Martori 6856ff7254 Add geo filtering for memory adapter 2013-06-24 15:21:59 -07:00
Ritchie Martori 008b406dd7 model.find => model.findById, model.all => model.find 2013-06-24 12:42:58 -07:00
Ritchie Martori ff37cc001a Fix incorrect variable name in updateAttributes 2013-06-21 15:01:40 -07:00
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