Skip to content

Commit

Permalink
add @sql_str macro
Browse files Browse the repository at this point in the history
  • Loading branch information
alyst committed Jan 8, 2021
1 parent 478f7bd commit 12458db
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/DBInterface.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
module DBInterface

"""
Declare the string as written in SQL.
The macro doesn't do any processing of the string.
"""
macro sql_str(cmd)
cmd
end

"Database packages should subtype `DBInterface.Connection` which represents a connection to a database"
abstract type Connection end

Expand Down

0 comments on commit 12458db

Please sign in to comment.