Skip to content

Instantly share code, notes, and snippets.

@kamichidu
Created January 22, 2014 12:09
Show Gist options
  • Select an option

  • Save kamichidu/8557675 to your computer and use it in GitHub Desktop.

Select an option

Save kamichidu/8557675 to your computer and use it in GitHub Desktop.

database interface

  • vdbc#connect({config})

    • config : dict

      • driver: required {pg}
      • host: required
      • port:
      • username:
      • password:
      • dbname:

    returns connection object.

    connection: execute: funcref select_as_list: funcref select_as_dict: funcref schemas: funcref tables: funcref columns: funcref indices: funcref foreign_keys: funcref sequences: funcref views: funcref

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment