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