Skip to content

Couchbase key mappings

YuriyZ edited this page Aug 21, 2019 · 23 revisions

Couchbase key mappings

Static rules:

  • objectClass -> oc

Dynamic rules:

We use _ as marker since luckily it's not used in current schema:

Drop prefix

  • gluu -> `` \ Example: gluuAttributeType -> `attr_t`
  • oxAuth -> `` \ Example: oxAuthAppType -> `app_t`, `oxAuthLogoutSessionRequired` -> `logoutSessionRequired`

Shortcuts with markers

  • Group -> _g
  • Type -> _t (we have a lot of Type, so keep it 2 chars shorter seems to worth it) \

Shortcuts without markers

  • Request -> Req
  • Response -> Resp
  • Attribute -> Attr
Clone this wiki locally