Sha256: 7695913a64e3c56a22aeb8a6e99fd1be9840f62d5e22e4e5328028c2b8adb7eb

Contents?: true

Size: 447 Bytes

Versions: 1

Compression:

Stored size: 447 Bytes

Contents

#ifndef SWIFT_QUERY_H
#define SWIFT_QUERY_H

#include "swift.h"

struct Query {
  char                    *sql;
  dbi::Handle             *handle;
  dbi::AbstractStatement  *statement;
  std::vector<dbi::Param> bind;
  char                    error_message[8192];
  VALUE                   error_klass;
};

VALUE query_execute(Query*);
VALUE query_execute_statement(Query*);
void query_bind_values(Query*, VALUE);
void init_swift_query();

#endif

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
swift-0.14.0 ext/query.h