shard-crystal-db/src/db/driver.cr
Brian J. Cardiff 683e6bdfa7 major db refactor for a better api.
`#query`, `#exec`, `#scalar`, `#scalar?` as main query methods from `Database`
blocks overrides that ensure statements are closed.
2016-02-25 22:25:54 -03:00

10 lines
149 B
Crystal

module DB
abstract class Driver
getter options
def initialize(@options)
end
abstract def build_connection : Connection
end
end