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 |
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
|
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
|
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 |
Raymond Feng
|
31473d3add
|
Fix the id column name
|
2013-05-22 12:17:14 -07:00 |
Raymond Feng
|
5b32141e31
|
Start to add discoverSchema and name mapping
|
2013-05-22 10:41:08 -07:00 |
Raymond Feng
|
aebd7de68c
|
Fix the capitalize
|
2013-05-21 14:54:14 -07:00 |
Raymond Feng
|
0022edb774
|
Transform the names
|
2013-05-21 14:43:25 -07:00 |
Raymond Feng
|
88f174ee39
|
Add discoverSchema
|
2013-05-21 14:25:23 -07:00 |
Raymond Feng
|
fcdd8c2bca
|
Fix the delegation for discover
|
2013-05-21 12:00:16 -07:00 |
Raymond Feng
|
26230be417
|
Fix the discover methods
|
2013-05-21 11:59:16 -07:00 |
Raymond Feng
|
184c190223
|
Bring up the schema loading from json docs
|
2013-05-20 16:05:59 -07:00 |
Raymond Feng
|
347147a36b
|
Remove schema.js
|
2013-05-17 17:06:40 -07:00 |
Raymond Feng
|
fca91e3400
|
Fix the on-demand connection
|
2013-05-17 16:21:12 -07:00 |
Raymond Feng
|
7caaeb2623
|
Fix the datasource.define
|
2013-05-17 14:41:04 -07:00 |
Raymond Feng
|
8263a6d71b
|
Start to refactor ADL and DataSource
|
2013-05-17 10:54:14 -07:00 |
Anatoliy Chakkaev
|
4c717e4335
|
Fail uniqueness check in case of db error
|
2013-05-17 09:01:29 -07:00 |
Raymond Feng
|
630b991d1d
|
Refactor the CRUD operations to DataAccessObject
|
2013-05-17 08:49:57 -07:00 |
Raymond Feng
|
3d82fc10b9
|
Fix the discover keys
|
2013-05-13 22:10:10 -07:00 |
Raymond Feng
|
e207628538
|
Add discover primary/foreign keys
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
c15ff3cad0
|
Safer include
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
0f040f7814
|
Fix Problem with DataType Text, closes #278
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
06641da2c6
|
Add context info to validation error
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
ba75af1490
|
Only save schema props
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
25db533827
|
Fix tick
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
8370538e4e
|
Safe connect call
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
23004c12c1
|
Support define fk with class name
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
8099f7edf2
|
Fix find with NaN id in base-sql
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
e13149edc5
|
Added skip/limit to memory adapter
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
ee05ebcca6
|
Relations passed to belongsTo.add
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
504ae56acd
|
Fix injection in ids
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
83027f9ead
|
Accept related objects when creating instance #247
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
eecbd32d07
|
Allow null properties for headless models
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
a73f53521e
|
Fix m2m: only add fk when hasMany have no "through"
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
c9e97744dd
|
Many-to-many relation
- hasMany {through: Class}
- hasAndBelongsToMany
- some specs in relations.test.js
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
9facf369b1
|
Some tests for scope
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
136ea91fbf
|
Organize model.js
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
c4d4b68413
|
Datatypes casting
|
2013-05-13 22:04:28 -07:00 |
Raymond Feng
|
5620be1d57
|
Add discover methods for model names and properties
|
2013-04-19 14:11:52 -07:00 |
Raymond Feng
|
ad1b2ad7e9
|
Only call the orginal method once
|
2013-04-16 22:25:31 -07:00 |
Raymond Feng
|
3613f6e22f
|
Set up the connected handler before connect
|
2013-04-15 16:05:17 -07:00 |
Raymond Feng
|
589908a78f
|
The connecting flag should be set to false initially
|
2013-04-15 16:00:08 -07:00 |
Anatoliy Chakkaev
|
3364102771
|
Do not assign enumerable schema to object #256
|
2013-04-07 00:21:42 +04:00 |
Anatoliy Chakkaev
|
2fd2157d28
|
Fix dates in memory adapter
|
2013-04-06 14:50:23 +04:00 |
Anatoliy Chakkaev
|
4943feb230
|
Merge transactions
|
2013-04-05 02:13:14 +04:00 |
Anatoliy Chakkaev
|
43d1cbd39e
|
Merge
|
2013-04-05 02:12:34 +04:00 |
Anatoliy Chakkaev
|
029dfb6f3b
|
Allow database.js to export function(compound)
|
2013-04-04 22:24:56 +04:00 |
Anatoliy Chakkaev
|
3a355851b6
|
ValidationError instead Error
|
2013-04-04 19:31:07 +04:00 |
Anatoliy Chakkaev
|
704bc965bd
|
Find on hasMany scope method
|
2013-04-04 00:46:41 +04:00 |
Anatoliy Chakkaev
|
f56cbaa150
|
Added map-reduce and find methods to list
|
2013-04-03 23:52:19 +04:00 |