trimming unneeded imports of modules
This commit is contained in:
parent
500c302c05
commit
11a283d2bc
|
@ -6,8 +6,6 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|
||||||
import Foundation
|
|
||||||
|
|
||||||
|
|
||||||
open class StORMConnect {
|
open class StORMConnect {
|
||||||
|
|
||||||
|
@ -32,9 +30,5 @@ open class StORMConnect {
|
||||||
self.datasource = ds
|
self.datasource = ds
|
||||||
self.credentials = StORMDataSourceCredentials(host: host, port: port, user: username, pass: password)
|
self.credentials = StORMDataSourceCredentials(host: host, port: port, user: username, pass: password)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|
||||||
import Foundation
|
|
||||||
|
|
||||||
public struct StORMCursor {
|
public struct StORMCursor {
|
||||||
public var limit: Int = 50
|
public var limit: Int = 50
|
||||||
public var offset: Int = 0
|
public var offset: Int = 0
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|
||||||
import Foundation
|
|
||||||
|
|
||||||
public enum StORMDataSource {
|
public enum StORMDataSource {
|
||||||
case Postgres
|
case Postgres
|
||||||
case MySQL
|
case MySQL
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|
||||||
import Foundation
|
|
||||||
|
|
||||||
public struct StORMDataSourceCredentials {
|
public struct StORMDataSourceCredentials {
|
||||||
public var host: String = "localhost"
|
public var host: String = "localhost"
|
||||||
public var port: Int = 0
|
public var port: Int = 0
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|
||||||
import Foundation
|
|
||||||
|
|
||||||
|
|
||||||
// add options as they are determined
|
// add options as they are determined
|
||||||
enum StORMDataSourceOptions {
|
enum StORMDataSourceOptions {
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|
||||||
import Foundation
|
|
||||||
|
|
||||||
public struct StORMDataSourceJoin {
|
public struct StORMDataSourceJoin {
|
||||||
public var table: String = ""
|
public var table: String = ""
|
||||||
public var direction: StORMJoinType
|
public var direction: StORMJoinType
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|
||||||
import Foundation
|
|
||||||
|
|
||||||
open class StORMResultSet {
|
open class StORMResultSet {
|
||||||
public var rows: [StORMRow] = [StORMRow]()
|
public var rows: [StORMRow] = [StORMRow]()
|
||||||
public var cursorData: StORMCursor = StORMCursor()
|
public var cursorData: StORMCursor = StORMCursor()
|
||||||
|
|
Loading…
Reference in New Issue