epochtalk-core-pg
Epochtalk Core for PostgreSQL
Last updated a year ago by wangbus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install epochtalk-core-pg 
SYNC missed versions from official npm registry.

PostgreSQL core implementation for Epochtalk

Epochtalk's core implementation using PostgreSQL 9.x

Schema

Epochtalk uses UUIDs that are reverse compatible with existing systems that use serial/integer based keying. UUIDs are at a clear advantage in more advanced systems:

This is 16-octet / 128 bit type compatible with most common GUID and UUID generators, supporting distributed application design, defined by RFC 4122, ISO/IEC 9834-8:2005. It is represented by 32 lowercase hexadecimal digits, displayed in five groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 alphanumeric characters and four hyphens).

Usage

Recommended: Use a separate module to use this require and depend it throughout your project. This allows the initialization from the configuration variables to be in just one place.

var path = require('path');
var config = require(path.join(__dirname, 'config'));
var core = require('epochtalk-core-pg');
module.exports = core(config.db);

API

Doc generation coming soon. For now look for code in the following models:

  • boards
  • categories
  • posts
  • threads
  • users

License

ISC Copyright (c) 2015, Slickage Studios LLC

Current Tags

  • 1.0.10                                ...           latest (a year ago)

20 Versions

  • 1.0.10                                ...           a year ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           3 years ago
  • 1.0.7                                ...           4 years ago
  • 1.0.6                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.10.0                                ...           5 years ago
  • 0.9.12                                ...           5 years ago
  • 0.9.11                                ...           5 years ago
  • 0.9.10                                ...           5 years ago
  • 0.9.9                                ...           5 years ago
  • 0.9.8                                ...           5 years ago
  • 0.9.7                                ...           5 years ago
  • 0.9.6                                ...           5 years ago
  • 0.9.5                                ...           5 years ago
  • 0.9.4                                ...           5 years ago
  • 0.9.3                                ...           6 years ago
  • 0.9.2                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (9)
Dev Dependencies (4)

Copyright 2014 - 2017 © taobao.org |