Skip to content

Commit

Permalink
Use only js in documentation examples
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Mar 4, 2016
1 parent 5b9c734 commit 0edf9ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coffee/api.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ class Database
### Register a custom function with SQLite
@example Register a simple function
db.create_function("addOne", function(x) {return x+1;})
db.exec("SELECT addOne(1)") # 2
db.exec("SELECT addOne(1)") // = 2
@param name [String] the name of the function as referenced in SQL statements.
@param func [Function] the actual function to be executed.
Expand Down

0 comments on commit 0edf9ce

Please sign in to comment.