Extract sql.Database interface to external package #204
Labels
No Label
bug
critical
duplicate
enhancement
epic
help wanted
in progress
invalid
low priority
question
rebase
v1
v5
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/go-ethereum#204
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If we want to use this SQL database interface abstraction, which enables supporting multiple different SQL databases and/or drivers, in our other repos that don't already have a dependency on vulcanzie-geth it would be preferable to extract this interface out to a different repository.
The driver component of the interface is mostly generic with respect to database schema, except it does have the
NodeInfo
method which is meaningless outside of our ipld-eth-db context.The tx, stats interfaces are schema agnostic.
The statements interface is not, as these methods are for returning INSERT statements specific to our database schema (the reason it is abstracted is because the same insert operation for the same table model can have different syntax depending on the SQL database and driver).
Tracked in https://github.com/cerc-io/ipld-eth-utils/issues/1