class Superstore::Adapters::AbstractAdapter

Public Class Methods

new() click to toggle source
# File lib/superstore/adapters/abstract_adapter.rb, line 4
def initialize
end

Public Instance Methods

delete(table, ids) click to toggle source

Delete rows by an array of ids

# File lib/superstore/adapters/abstract_adapter.rb, line 20
def delete(table, ids) # abstract
end
insert(table, id, attributes) click to toggle source

Insert a new row

# File lib/superstore/adapters/abstract_adapter.rb, line 12
def insert(table, id, attributes) # abstract
end
select(scope) click to toggle source

Read records from a instance of Superstore::Scope

# File lib/superstore/adapters/abstract_adapter.rb, line 8
def select(scope) # abstract
end
update(table, id, attributes) click to toggle source

Update an existing row

# File lib/superstore/adapters/abstract_adapter.rb, line 16
def update(table, id, attributes) # abstract
end