|
9 | 9 | <a href="https://ibm-swift.github.io/Swift-Kuery-ORM/index.html"> |
10 | 10 | <img src="https://img.shields.io/badge/apidoc-SwiftKueryORM-1FBCE4.svg?style=flat" alt="APIDoc"> |
11 | 11 | </a> |
12 | | - <a href="https://travis-ci.org/IBM-Swift/Swift-Kuery-ORM"> |
13 | | - <img src="https://travis-ci.org/IBM-Swift/Swift-Kuery-ORM.svg?branch=master" alt="Build Status - Master"> |
| 12 | + <a href="https://travis-ci.org/Kitura/Swift-Kuery-ORM"> |
| 13 | + <img src="https://travis-ci.org/Kitura/Swift-Kuery-ORM.svg?branch=master" alt="Build Status - Master"> |
14 | 14 | </a> |
15 | 15 | <img src="https://img.shields.io/badge/os-macOS-green.svg?style=flat" alt="macOS"> |
16 | 16 | <img src="https://img.shields.io/badge/os-linux-green.svg?style=flat" alt="Linux"> |
|
24 | 24 |
|
25 | 25 | Swift-Kuery-ORM is an ORM (Object Relational Mapping) library built for Swift. Using it allows you to simplify persistence of model objects with your server. |
26 | 26 |
|
27 | | -Swift-Kuery-ORM is built on top of [Swift-Kuery](http://github.com/IBM-Swift/Swift-Kuery), which means that its possible to use Swift-Kuery to customize SQL queries made to the database, if the functionality of the ORM is insufficient. |
| 27 | +Swift-Kuery-ORM is built on top of [Swift-Kuery](http://github.com/Kitura/Swift-Kuery), which means that its possible to use Swift-Kuery to customize SQL queries made to the database, if the functionality of the ORM is insufficient. |
28 | 28 |
|
29 | 29 | ## The Model Protocol |
30 | 30 | The key component of Swift-Kuery-ORM is the protocol `Model`. |
@@ -62,18 +62,18 @@ The `Model` protocol is the key to using the ORM. Let's walk through how to full |
62 | 62 |
|
63 | 63 | ## Example |
64 | 64 |
|
65 | | -Follow [Getting Started](https://www.kitura.io/guides/gettingstarted.html) to create a Kitura server. In this example you'll be using the [Swift Kuery PostgreSQL plugin](https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL), so you will need PostgreSQL running on your local machine, which you can install with `brew install postgresql`. The default port for PostgreSQL is 5432. |
| 65 | +Follow [Getting Started](https://www.kitura.io/guides/gettingstarted.html) to create a Kitura server. In this example you'll be using the [Swift Kuery PostgreSQL plugin](https://github.com/Kitura/Swift-Kuery-PostgreSQL), so you will need PostgreSQL running on your local machine, which you can install with `brew install postgresql`. The default port for PostgreSQL is 5432. |
66 | 66 |
|
67 | 67 | ### Update your Package.swift file |
68 | 68 |
|
69 | | -Add Swift-Kuery-ORM and Swift-Kuery-PostgreSQL to your application's `Package.swift`. Substitute `"x.x.x"` with the latest `Swift-Kuery-ORM` [release](https://github.com/IBM-Swift/Swift-Kuery-ORM/releases) and the latest `Swift-Kuery-PostgreSQL` [release](https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL/releases). |
| 69 | +Add Swift-Kuery-ORM and Swift-Kuery-PostgreSQL to your application's `Package.swift`. Substitute `"x.x.x"` with the latest `Swift-Kuery-ORM` [release](https://github.com/Kitura/Swift-Kuery-ORM/releases) and the latest `Swift-Kuery-PostgreSQL` [release](https://github.com/Kitura/Swift-Kuery-PostgreSQL/releases). |
70 | 70 |
|
71 | 71 | ```swift |
72 | 72 | dependencies: [ |
73 | 73 | ... |
74 | 74 | // Add these two lines |
75 | | - .package(url: "https://github.com/IBM-Swift/Swift-Kuery-ORM.git", from: "x.x.x"), |
76 | | - .package(url: "https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL.git", from: "x.x.x"), |
| 75 | + .package(url: "https://github.com/Kitura/Swift-Kuery-ORM.git", from: "x.x.x"), |
| 76 | + .package(url: "https://github.com/Kitura/Swift-Kuery-PostgreSQL.git", from: "x.x.x"), |
77 | 77 | ], |
78 | 78 | targets: [ |
79 | 79 | .target( |
@@ -289,7 +289,7 @@ Person.getOverTwenties() { result, error in |
289 | 289 | } |
290 | 290 | ``` |
291 | 291 |
|
292 | | -If you'd like to learn more about how you can customize queries, check out the [Swift-Kuery](https://github.com/IBM-Swift/Swift-Kuery) repository for more information. |
| 292 | +If you'd like to learn more about how you can customize queries, check out the [Swift-Kuery](https://github.com/Kitura/Swift-Kuery) repository for more information. |
293 | 293 |
|
294 | 294 | ## Model Identifiers |
295 | 295 |
|
@@ -417,11 +417,11 @@ struct Person: Model { |
417 | 417 |
|
418 | 418 | ## List of plugins |
419 | 419 |
|
420 | | -* [PostgreSQL](https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL) |
| 420 | +* [PostgreSQL](https://github.com/Kitura/Swift-Kuery-PostgreSQL) |
421 | 421 |
|
422 | | -* [SQLite](https://github.com/IBM-Swift/Swift-Kuery-SQLite) |
| 422 | +* [SQLite](https://github.com/Kitura/Swift-Kuery-SQLite) |
423 | 423 |
|
424 | | -* [MySQL](https://github.com/IBM-Swift/SwiftKueryMySQL) |
| 424 | +* [MySQL](https://github.com/Kitura/SwiftKueryMySQL) |
425 | 425 |
|
426 | 426 | ## API Documentation |
427 | 427 | For more information visit our [API reference](https://ibm-swift.github.io/Swift-Kuery-ORM/index.html). |
|
0 commit comments