ccgus
|
8c259dbe5d
Fixed a problem where executeUpdateWithFormat: + %@ as a placeholder and the value was nil would cause a bad value to be inserted. Thanks to rustybox on github for the fix.
|
12 years ago |
ccgus
|
61b6e19436
Merged in Chris Wright's date format additions to FMDatabase.
|
12 years ago |
August Mueller
|
6740330e8a
Cleanup.
|
12 years ago |
August Mueller
|
af880a3e25
Updated credits and changes file.
|
13 years ago |
ccgus
|
bbca6425f3
Added a new addition which can be used for reading and writing on disk databases to in memory databases.
|
13 years ago |
August Mueller
|
5a463d036d
Cleanup of some code + notes on what is going on
|
13 years ago |
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 years ago |
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 years ago |
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 years ago |
ccgus
|
3d7eaf67be
Notes and SDK changes.
|
13 years ago |
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 years ago |
ccgus
|
eef884233f
Deprecated columnExists:columnName: in favor of columnExists:inTableWithName:
|
13 years ago |
August Mueller
|
a887a6ff21
Fixed a problem with getTableSchema: not working with table names that start with a number.
|
13 years ago |
ccgus
|
ab3b78cf02
Got rid of the pop and pull from the database pool- too dangerous! Updated readme and tests.
|
14 years ago |
August Mueller
|
423fbc7fd2
How the hell did all these tabs get in here…
|
14 years ago |
August Mueller
|
5f14e7da23
Added the ability to make custom sqlite functions from blocks.
|
14 years ago |
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 years ago |
August Mueller
|
b6af107dbb
Added parameter support.
|
14 years ago |
August Mueller
|
a545f71d08
Fixed a problem under GC where leaked statments were keeping a database from closing. Patch from Chris Dolan.
|
14 years ago |
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 years ago |
August Mueller
|
c9c2637200
Changed some methods to properties. Hello 2011.
|
14 years ago |
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 years ago |
Dave DeLong
|
8d38b7e97b
Updated CHANGES document and wrote some documentation
|
14 years ago |
Dave DeLong
|
ecfe4f8003
Updated Changes and Contributors
|
15 years ago |
August Mueller
|
11932c0f7e
um.... i hate git?
|
15 years ago |
ccgus
|
06bccb300e
Now checking for SQLITE_LOCKED along with SQLITE_BUSY when trying to perform a query. Patch from Jeff Meininger!
|
15 years ago |
August Mueller
|
c23c216883
Fixed some compiler warnings.
|
15 years ago |
ccgus
|
bcac8bd59d
Only execute the assertion macros if NS_BLOCK_ASSERTIONS is not set. Patch from David E. Wheeler!
|
15 years ago |
ccgus
|
56a5e0f488
Added and updated some new methods to take NSError** params.
|
15 years ago |
August Mueller
|
e556e953b0
The signature for FMDatabase's executeQuery* methods now return FMResultSet instead if id. Patch from Augie Fackler!
|
15 years ago |