Class: Mapper

vertx-cassandra-js/mapper~ Mapper

new Mapper()

Source:

Methods

delete(primaryKey, handler)

Asynchronous delete method based on the column values of the primary key.
Parameters:
Name Type Description
primaryKey Array.<Object> primary key used to find row to delete
handler function result handler
Source:

get(primaryKey, handler)

Asynchronous get method based on the column values of the primary key.
Parameters:
Name Type Description
primaryKey Array.<Object> primary key used to retrieve row
handler function result handler
Source:

save(entity, handler)

Asynchronous save method.
Parameters:
Name Type Description
entity Object object to be stored in database
handler function result handler
Source: