1.0.4 • Published 10 years ago

mongoose-locale v1.0.4

Weekly downloads
1
License
-
Repository
github
Last release
10 years ago

mongoose-locale

You can use this plugin when you need to use field for multiple languages.

Example

Next schema will be converted

{
	name: { type: String, trim: true, locale: true }
}

into this schema

{
	name: [{
		lg    : { type: String },
		value : { type: String, trim: true }
	}]
}
1.0.4

10 years ago

1.0.3

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago