<commit_before>PostgreSQL
==========

[![Swift 2.2](https://img.shields.io/badge/Swift-2.2-orange.svg?style=flat)](https://swift.org)
[![Platforms Linux](https://img.shields.io/badge/Platforms-Linux-lightgray.svg?style=flat)](https://swift.org/download/#linux)
[![License MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](https://tldrlegal.com/license/mit-license)
[![Slack Status](http://slack.zewo.io/badge.svg)](http://slack.zewo.io)

**PostgreSQL** adapter for **Swift 2.2**.

## Usage

```swift
let connection = Connection("postgresql://localhost/movies")
do {
	try connection.open()
	try connection.execute("INSERT INTO films (name) VALUES($1)", parameters: "Shawshank redemption")
	let result = try connection.execute(
	"SELECT * FROM films where title = $1", parameters: "Shawshank redemption")
	for row in result {
        print(row["name"]?.string)
    }
} catch {
	print(error)
}
```

## Installation

- Install libpq-dev

```bash
$ (sudo) apt-get install libpq-dev
```

- Add `PostgreSQL` to your `Package.swift`

```swift
import PackageDescription

let package = Package(
	dependencies: [
		.Package(url: "https://github.com/Zewo/PostgreSQL.git", majorVersion: 0)
	]
)

```

## Community

[![Slack](http://s13.postimg.org/ybwy92ktf/Slack.png)](http://slack.zewo.io)

Join us on [Slack](http://slack.zewo.io).

License
-------

**PostgreSQL** is released under the MIT license. See LICENSE for details.
<commit_msg>Fix column in README sample<commit_after>PostgreSQL
==========

[![Swift 2.2](https://img.shields.io/badge/Swift-2.2-orange.svg?style=flat)](https://swift.org)
[![Platforms Linux](https://img.shields.io/badge/Platforms-Linux-lightgray.svg?style=flat)](https://swift.org/download/#linux)
[![License MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](https://tldrlegal.com/license/mit-license)
[![Slack Status](http://slack.zewo.io/badge.svg)](http://slack.zewo.io)

**PostgreSQL** adapter for **Swift 2.2**.

## Usage

```swift
let connection = Connection("postgresql://localhost/movies")
do {
	try connection.open()
	try connection.execute("INSERT INTO films (name) VALUES($1)", parameters: "Shawshank redemption")
	let result = try connection.execute(
	"SELECT * FROM films where name = $1", parameters: "Shawshank redemption")
	for row in result {
        print(row["name"]?.string)
    }
} catch {
	print(error)
}
```

## Installation

- Install libpq-dev

```bash
$ (sudo) apt-get install libpq-dev
```

- Add `PostgreSQL` to your `Package.swift`

```swift
import PackageDescription

let package = Package(
	dependencies: [
		.Package(url: "https://github.com/Zewo/PostgreSQL.git", majorVersion: 0)
	]
)

```

## Community

[![Slack](http://s13.postimg.org/ybwy92ktf/Slack.png)](http://slack.zewo.io)

Join us on [Slack](http://slack.zewo.io).

License
-------

**PostgreSQL** is released under the MIT license. See LICENSE for details.

{'fraction_non_alphanumeric': 0.19634860489149156, 'fraction_numerical': 0.008956252152945229, 'mean_word_length': 4.617021276595745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3151649', 'n_tokens_mistral': 1106, 'n_tokens_neox': 1017, 'n_words': 190}