const jet = @import("jet"); const std = @import("std"); const Adapter = @import("../Adapter.zig"); const pg = jet.deps.pg; const Postgresql = @This(); database: []const u8, username: []const u8, password: []const u8, hostname: []const u8 = "127.0.0.1", port: u16 = 5432, pool_size: u16 = 8, timeout: u32 = 10_000, interface: Adapter = .{ .vtable = &.{ .deinit = "", }, }, fn deinit(a: *Adapter) void { const self: *Postgresql = @fieldParentPtr("interface", a); _ = self; } const Result = struct {};