ccgus
|
8afcebcb4a
Now resetting cached statements before executing a query on them (as well as resetting them at the close of a result set). There was an issue where if you used the same query twice without closing the result set of the first one, you would get results back from the previous query, or maybe an exhausted result set. Thanks to note173 on github for pointing out the problem.
|
13 gadi atpakaļ |
ccgus
|
ca40737958
Changed up how the binding count is calculated when passing a dictionary for named parameter support. Thanks to Samuel Chen for pointing out the problem
|
13 gadi atpakaļ |
ccgus
|
df02dac4d5
Added keyed and indexed subscript support to FMResultSet- so you can do use the fancy boxed syntax against it (rs[@"foo"] & rs[0]). Thanks to Robert Ryan for the patches!
|
13 gadi atpakaļ |
ccgus
|
3d7eaf67be
Notes and SDK changes.
|
13 gadi atpakaļ |
ccgus
|
8666d8f95a
Changed up the behavior of binding empty NSData objects ([NSData data]). It will now insert an empty value, rather than a null value- which is consistent with [NSMutableData data] and empty strings (see https://github.com/ccgus/fmdb/issues/73 for a discussion on this). Thanks to Jens Alfke for pointing this out!
|
13 gadi atpakaļ |
ccgus
|
eef884233f
Deprecated columnExists:columnName: in favor of columnExists:inTableWithName:
|
13 gadi atpakaļ |
August Mueller
|
a887a6ff21
Fixed a problem with getTableSchema: not working with table names that start with a number.
|
14 gadi atpakaļ |
ccgus
|
ab3b78cf02
Got rid of the pop and pull from the database pool- too dangerous! Updated readme and tests.
|
14 gadi atpakaļ |
August Mueller
|
423fbc7fd2
How the hell did all these tabs get in here…
|
14 gadi atpakaļ |
August Mueller
|
5f14e7da23
Added the ability to make custom sqlite functions from blocks.
|
14 gadi atpakaļ |
August Mueller
|
a3498a31c3
Changed FMDatabase's "- (BOOL)update:(NSString*)sql error:(NSError**)outErr bind:(id)bindArgs, ... " to "- (BOOL)update:(NSString*)sql withErrorAndBindings:(NSError**)outErr, ..." as the previous method didn't actually work as advertised in the way it was written. Thanks to @jaekwon for pointing this out.
|
14 gadi atpakaļ |
August Mueller
|
b6af107dbb
Added parameter support.
|
14 gadi atpakaļ |
August Mueller
|
a545f71d08
Fixed a problem under GC where leaked statments were keeping a database from closing. Patch from Chris Dolan.
|
14 gadi atpakaļ |
August Mueller
|
cef9e7b58c
Added a warning when you try and use a database that wasn't opened. Hacked together based on patches from Drarok Ithaqua
|
14 gadi atpakaļ |
August Mueller
|
c9c2637200
Changed some methods to properties. Hello 2011.
|
14 gadi atpakaļ |
August Mueller
|
ee222a9a15
Code cleanup, and renamed a method back to what it prevously was, since I don't want to break any existing code.
|
14 gadi atpakaļ |
Dave DeLong
|
8d38b7e97b
Updated CHANGES document and wrote some documentation
|
14 gadi atpakaļ |
Dave DeLong
|
ecfe4f8003
Updated Changes and Contributors
|
15 gadi atpakaļ |
August Mueller
|
11932c0f7e
um.... i hate git?
|
15 gadi atpakaļ |
ccgus
|
06bccb300e
Now checking for SQLITE_LOCKED along with SQLITE_BUSY when trying to perform a query. Patch from Jeff Meininger!
|
15 gadi atpakaļ |
August Mueller
|
c23c216883
Fixed some compiler warnings.
|
15 gadi atpakaļ |
ccgus
|
bcac8bd59d
Only execute the assertion macros if NS_BLOCK_ASSERTIONS is not set. Patch from David E. Wheeler!
|
15 gadi atpakaļ |
ccgus
|
56a5e0f488
Added and updated some new methods to take NSError** params.
|
15 gadi atpakaļ |
August Mueller
|
e556e953b0
The signature for FMDatabase's executeQuery* methods now return FMResultSet instead if id. Patch from Augie Fackler!
|
15 gadi atpakaļ |
ccgus
|
83e3eeed94
Formatting updates, along with a new method for getting a dictionary back from a result set.
|
15 gadi atpakaļ |
ccgus
|
0937ef83c4
More files for the hardcore importing action.
|
15 gadi atpakaļ |