Documentation ¶
Index ¶
Constants ¶
View Source
const ( StmntLoadUsersTable = "CREATE TABLE users AS select id, account_id, email, department, " + "created_date, first_name, last_name, account_status, active_package_name, account_record_type " + "from read_parquet('%s') " QryAllUsers = "SELECT id, account_id, email, department, created_date FROM users limit 100;" QryUsersByDomain = "SELECT id, account_id, email, department, created_date FROM users WHERE email LIKE ?" QryUsersByEmail = "SELECT id, account_id, email, department, created_date FROM users WHERE email = ?" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAO ¶
type DAO struct {
// contains filtered or unexported fields
}
func NewStore ¶
func NewStore(driver DataDriver) *DAO
type DataDriver ¶
type DuckDBDriver ¶
type DuckDBDriver struct {
// contains filtered or unexported fields
}
func NewDuckDBDriver ¶
func NewDuckDBDriver(awsCred aws.AWSCred) *DuckDBDriver
func (*DuckDBDriver) Close ¶
func (d *DuckDBDriver) Close() error
func (*DuckDBDriver) Execute ¶
func (d *DuckDBDriver) Execute(statement string) error
func (*DuckDBDriver) QueryPreparedStatement ¶
Click to show internal directories.
Click to hide internal directories.