Skip to content

Commit

Permalink
GetDSN() -- filename is not optional
Browse files Browse the repository at this point in the history
  • Loading branch information
bkidwell committed May 21, 2011
1 parent 696f7b5 commit f22174e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/cfsqlite.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ <h3>GetDSN</h3>
<p>access: <code>public</code><br>
returns: <code>string</code></p>

<dl><dt><i>optional</i> <code>string</code> <b><code>File</code></b></dt><dd>Full fath to SQLite database file. Complete path and file will be created if they don't already exist.</dd></dl>
<dl><dt><code>string</code> <b><code>File</code></b></dt><dd>Full fath to SQLite database file. Complete path and file will be created if they don't already exist.</dd></dl>

<h3>Init</h3>

Expand Down
2 changes: 1 addition & 1 deletion doc/cfsqlite.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Get a DSN for an SQLite database file. This method can be called as many times a
access: `public`<br>
returns: `string`

<dl><dt><i>optional</i> <code>string</code> <b><code>File</code></b></dt><dd>Full fath to SQLite database file. Complete path and file will be created if they don't already exist.</dd></dl>
<dl><dt><code>string</code> <b><code>File</code></b></dt><dd>Full fath to SQLite database file. Complete path and file will be created if they don't already exist.</dd></dl>

### Init

Expand Down
5 changes: 3 additions & 2 deletions src/cfsqlite.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,9 @@ THIS SOFTWARE.
hint="Get a DSN for an SQLite database file. This method can be called as
many times as needed to setup more than one database file.">

<cfargument name="File" type="string" hint="Full fath to SQLite database
file. Complete path and file will be created if they don't already exist.">
<cfargument name="File" type="string" required="true"
hint="Full fath to SQLite database file. Complete path and file will be
created if they don't already exist.">
<cfset var key="">
<cfset var dbName="">
<cfset var dsn="">
Expand Down

0 comments on commit f22174e

Please sign in to comment.