Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*xcuserdata*
223 changes: 99 additions & 124 deletions MySQLDriver.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

101 changes: 101 additions & 0 deletions MySQLDriver.xcodeproj/xcshareddata/xcschemes/MySQLDriver-iOS.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0900"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3B28C4001C2D74D4008CA202"
BuildableName = "MySQLDriver.framework"
BlueprintName = "MySQLDriver-iOS"
ReferencedContainer = "container:MySQLDriver.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3B28C4091C2D74D4008CA202"
BuildableName = "MySQLDriverTests-iOS.xctest"
BlueprintName = "MySQLDriverTests-iOS"
ReferencedContainer = "container:MySQLDriver.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3B28C4001C2D74D4008CA202"
BuildableName = "MySQLDriver.framework"
BlueprintName = "MySQLDriver-iOS"
ReferencedContainer = "container:MySQLDriver.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3B28C4001C2D74D4008CA202"
BuildableName = "MySQLDriver.framework"
BlueprintName = "MySQLDriver-iOS"
ReferencedContainer = "container:MySQLDriver.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3B28C4001C2D74D4008CA202"
BuildableName = "MySQLDriver.framework"
BlueprintName = "MySQLDriver-iOS"
ReferencedContainer = "container:MySQLDriver.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0900"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3B28C3D81C2D73E8008CA202"
BuildableName = "MySQLDriver.framework"
BlueprintName = "MySQLDriver-macOS"
ReferencedContainer = "container:MySQLDriver.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B0F16B481F97728700AAAFDB"
BuildableName = "MySQLDriverTests-macOS.xctest"
BlueprintName = "MySQLDriverTests-macOS"
ReferencedContainer = "container:MySQLDriver.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3B28C3D81C2D73E8008CA202"
BuildableName = "MySQLDriver.framework"
BlueprintName = "MySQLDriver-macOS"
ReferencedContainer = "container:MySQLDriver.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3B28C3D81C2D73E8008CA202"
BuildableName = "MySQLDriver.framework"
BlueprintName = "MySQLDriver-macOS"
ReferencedContainer = "container:MySQLDriver.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3B28C3D81C2D73E8008CA202"
BuildableName = "MySQLDriver.framework"
BlueprintName = "MySQLDriver-macOS"
ReferencedContainer = "container:MySQLDriver.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
19 changes: 0 additions & 19 deletions MySQLDriverMac/MySQLDriverMac.h

This file was deleted.

24 changes: 0 additions & 24 deletions MySQLDriverMacTests/Info.plist

This file was deleted.

22 changes: 0 additions & 22 deletions MySQLDriverTests/Info.plist

This file was deleted.

34 changes: 0 additions & 34 deletions MySQLDriverTests/MySQLDriverTests.swift

This file was deleted.

26 changes: 0 additions & 26 deletions MySQLDriveriOS/Info.plist

This file was deleted.

19 changes: 0 additions & 19 deletions MySQLDriveriOS/MySQLDriveriOS.h

This file was deleted.

24 changes: 0 additions & 24 deletions MySQLDriveriOSTests/Info.plist

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions Sources/MySQLDriver/Table.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public extension MySQL {


/// Creates a new table based on a Swift Object using the connection
func create(_ object:Any, primaryKey:String?=nil, autoInc:Bool=false) throws {
open func create(_ object:Any, primaryKey:String?=nil, autoInc:Bool=false) throws {
var v = ""
let mirror = Mirror(reflecting: object)
var count = mirror.children.count
Expand Down Expand Up @@ -126,7 +126,7 @@ public extension MySQL {
}

/// Creates a new table based on a MySQL.RowStructure using the connection
func create(_ row:MySQL.Row, primaryKey:String?=nil, autoInc:Bool=false) throws {
open func create(_ row:MySQL.Row, primaryKey:String?=nil, autoInc:Bool=false) throws {
var v = ""
var count = row.count

Expand Down
Loading