2022-10-04 02:41:59 +00:00
|
|
|
const std = @import("std");
|
|
|
|
const common = @import("./common.zig");
|
|
|
|
const Allocator = std.mem.Allocator;
|
|
|
|
|
|
|
|
pub const Results = struct {
|
|
|
|
pub fn row(_: *Results) common.RowError!?Row {
|
|
|
|
unreachable;
|
|
|
|
}
|
|
|
|
pub fn columnCount(_: Results) common.ColumnCountError!u15 {
|
|
|
|
unreachable;
|
|
|
|
}
|
|
|
|
pub fn columnIndex(_: Results, _: []const u8) common.ColumnIndexError!u15 {
|
|
|
|
unreachable;
|
|
|
|
}
|
|
|
|
pub fn finish(_: Results) void {
|
|
|
|
unreachable;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
pub const Row = struct {
|
|
|
|
pub fn get(_: Row, comptime T: type, _: u15, _: ?Allocator) common.GetError!T {
|
|
|
|
unreachable;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
pub const Db = struct {
|
|
|
|
pub fn open(_: anytype) common.OpenError!Db {
|
|
|
|
unreachable;
|
|
|
|
}
|
|
|
|
|
2022-10-13 06:19:59 +00:00
|
|
|
pub fn openUri(_: anytype) common.OpenError!Db {
|
|
|
|
unreachable;
|
|
|
|
}
|
|
|
|
|
2022-10-04 02:41:59 +00:00
|
|
|
pub fn close(_: Db) void {
|
|
|
|
unreachable;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn exec(_: Db, _: [:0]const u8, _: anytype, _: common.QueryOptions) common.ExecError!Results {
|
|
|
|
unreachable;
|
|
|
|
}
|
|
|
|
};
|