Dirac Automatic Column Reference
Automatically use a column for table references in schemas.
/** * groups schema */ // Dirac table schema name: 'groups' schema: id: type: 'serial' primaryKey: true name: type: 'text' // No need to specify column: 'id' in the references uid: type: 'integer' references: table: 'users'
/** * Main DB module */ var dirac = ;var tableRef = ; dirac;