Skip to content
Discussion options

You must be logged in to vote

Docs needed to be updated, I fixed that and added more of the new types available:

schema = string([ 'str1', 'str2', .. ]) // any of specific strings, auto-maps to integer

schema = varint // variable length integer (max integer = 1_073_741_823) 
schema = objectid // MongoDB ObjectID
schema = uuid // MongoDB BSON UUID object
schema = date // javascript Date
schema = lonlat // coordinates [ longitude, latitude ]

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@GreenArrow18
Comment options

Answer selected by GreenArrow18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants