Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

No schema? #411

Open
jdarling opened this Issue · 7 comments

4 participants

jdarling Anatoliy Chakkaev Anatoliy Chakkaev Pasindu De Silva
jdarling

I searched for this and couldn't really see an answer to it. Can you use JugglingDB without a schema? Or a way to use it with a minimal schema (must contain at least but can contain more than)?

Basically just use JugglingDB as an abstraction/access layer?

Anatoliy Chakkaev
Owner

You can't use jugglingdb without schema. Could you please clarify what you mean by minimal schema?

jdarling

Sure, say I have a "contacts" schema. Minimum I want firstName and lastName, but I don't know what else will be stored to it. So I would like to be able to stuff anything in along with firstName and lastName.

IE: I may have the following object to store even though my schema is only firstName and lastName

{
  firstName: 'Jeremy',
  lastName: 'Darling',
  githubAccount: 'jdarling'
}
Anatoliy Chakkaev
Collaborator
Pasindu De Silva

I also have come across same use cases , is it the same case when using mongo adapter ?

Anatoliy Chakkaev
Collaborator
Pasindu De Silva

wouldn't that defeat the purpose about nosql being schema-less ?

Anatoliy Chakkaev
Collaborator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.