Back to results
rupurt/zodbc(opens in a new tab)
Language: Zig
A blazing fast ODBC Zig client
- stars
- 7
- watchers
- 4
- forks
- 3
- open issues
- 0
- Last updated
- 04/21/2024
Language: Zig
A blazing fast ODBC Zig client
A blazing fast ODBC Zig client
> zodbc -h zodbc USAGE: zodbc [OPTIONS] COMMANDS: sql dump load tables table-privileges columns column-privileges special-columns primary-keys foreign-keys statistics data-sources functions procedures procedure-columns info attrs benchmark OPTIONS: -h, --help Prints help information
zodbc as a dependency in your build.zig.zon.{
.name = "<name_of_your_package>",
.version = "<version_of_your_package>",
.dependencies = .{
.zodbc = .{
.url = "https://github.com/rupurt/zodbc/archive/<git_tag_or_commit_hash>.tar.gz",
.hash = "<package_hash>",
},
},
}Set <package_hash> to 12200000000000000000000000000000000000000000000000000000000000000000, and Zig will provide the correct found value in an error message.
zodbc as a dependency module in your build.zig// ... const zodbc_dep = b.dependency("zodbc", .{ .target = target, .optimize = optimize }); exe.root_module.addImport("zodbc", zodbc_dep.module("zodbc"));
> nix develop -c $SHELL> make> make test> make run> make clean> make build> make run -- -h > make run -- sql -h ...
> make exec -- -h > make exec -- sql -h
> make compose.up > make compose.down
zodbc is released under the MIT license