Skip to main content

Home/ Groups/ HealthcareMetadata
Malcolm McRoberts

python - Ideal schema design for privacy settings in MongoDB and Meteor - Stack Overflow - 0 views

  • var projectSchema = new Schema({ access: { type: String, enum: ACCESS_MODES, required: true, default: 'public' }, owner: { type: Schema.Types.ObjectId, ref: 'User' }] });
Malcolm McRoberts

optimization - Schema design for privacy settings in MongoDB - Database Administrators ... - 0 views

  • { _id: ..., public: true, groups: ['group1', 'group2',...], users: ['user1','user2',...], } You could now query for all documents visible to user X if you have a list of groups user X belongs to by querying: db.documents.find( { $or : [ { public : true }, { users : X }, { groups : { $in : [list-of-X's-groups] } } ] } )
Malcolm McRoberts

Java-Only | RESTful web services with MongoDB - 0 views

  • A tutorial on how to use RestEasy with MongoDB in order to create RESTful web services
Malcolm McRoberts

java - Do you need JPA when using MongoDB? - Stack Overflow - 0 views

  • There is however Morphia, an Object Document Mapper for MongoDB + Java which closely emulates the JPA model but using MongoDB appropriate semantics
  • DataNucleus already supports MongoDB, for JPA and JDO, the standardised APIs in Java.
  • clipseLink is planning support for MongoDB from JPA.
« First ‹ Previous 241 - 245 of 245
Showing 20 items per page