Login   Register  
PHP Classes
elePHPant
Icontem

File: schema.evdb

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Bartlomiej Rudzki  >  EVDB  >  schema.evdb  >  Download  
File: schema.evdb
Role: Auxiliary data
Content type: text/plain
Description: Example EVDB schema
Class: EVDB
Store and retrieve objects in MongoDB databases
Author: By
Last change:
Date: 3 years ago
Size: 394 bytes
 

Contents

Class file image Download
Person:
  first_name: string
  last_name: string
  birthdate: integer

User < Person:
  login: string
  password: string
  email: string
  foo: string(bar)


Actor:
  movies: string[]

Politician < Person:
  party: string

Governor < Politician:
  state: string

Bodybuilder < Person:
  favorite_gym: string

ArnoldSchwarzenegger < [Actor, Politician, Bodybuilder]:
  country: string(!!Austria)