{"id":28389033,"url":"https://github.com/timur-sh/queryman-builder","last_synced_at":"2025-09-09T23:38:19.299Z","repository":{"id":57739914,"uuid":"118123427","full_name":"timur-sh/queryman-builder","owner":"timur-sh","description":"Queryman. Java tools for working with queries of PostgreSQL database.","archived":false,"fork":false,"pushed_at":"2018-04-10T04:29:07.000Z","size":782,"stargazers_count":3,"open_issues_count":16,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-31T09:48:16.983Z","etag":null,"topics":["java","postgresql","postgresql-query-builder","query-builder","sql"],"latest_commit_sha":null,"homepage":"http://queryman.org/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timur-sh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-19T12:36:37.000Z","updated_at":"2024-06-30T09:08:12.000Z","dependencies_parsed_at":"2022-09-01T12:00:13.347Z","dependency_job_id":null,"html_url":"https://github.com/timur-sh/queryman-builder","commit_stats":null,"previous_names":["query-man/queryman-builder"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timur-sh%2Fqueryman-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timur-sh%2Fqueryman-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timur-sh%2Fqueryman-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timur-sh%2Fqueryman-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timur-sh","download_url":"https://codeload.github.com/timur-sh/queryman-builder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timur-sh%2Fqueryman-builder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":257636234,"owners_count":22577161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","postgresql","postgresql-query-builder","query-builder","sql"],"created_at":"2025-05-31T00:12:06.661Z","updated_at":"2025-07-05T23:05:55.236Z","avatar_url":"https://github.com/timur-sh.png","language":"Java","readme":"Queryman Builder does only one thing - builds SQL query for PostgreSQL, but does it perfectly.\n===\n\nQueryman Builder provides a fluent Java API that allows to write SQL in object oriented way.\n\n\nDocumentation\n=== \n*  [http://queryman.org](http://queryman.org)\n\nGetting started\n===\nQueryman can be used to build as a SQL string in object-oriented way, as a \n`PreparedStatement`.\n\nQueryman Builder does not require any configuration. Thus, everything you needed \nto to add it to dependency and you can immediately start to use it:\n\nGradle:\n```\ncompile group: 'org.queryman', name: 'queryman-builder', version: '1.0.0'\n```\n\nMaven:\n```\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.queryman\u003c/groupId\u003e\n    \u003cartifactId\u003equeryman-builder\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nBuild SQL query\n====\nSimple SQL query:\n```\n// SELECT * FROM book WHERE id = 15 AND price \u003c 35.99 ORDER BY created_date LIMIT 10 OFFSET 50\nQueryman.select(\"*\")\n    .from(\"book\")\n    .where(\"id\", \"=\", 15)\n        .and(\"price\", \"\u003c\", 35.99)\n    .orderBy(\"created_date\")\n    .limit(10)\n    .offset(50)\n    .sql();\n```\n\nPrepared SQL query:\n```\n// SELECT * FROM book WHERE id = ? AND price \u003c ? ORDER BY created_date LIMIT 10 OFFSET 50\n// Parameters: \n//      1 -\u003e 15\n//      2 -\u003e 35.99\nQueryman.select(\"*\")\n    .from(\"book\")\n    .where(\"id\", \"=\", 15)\n        .and(\"price\", \"\u003c\", 35.99)\n    .orderBy(\"created_date\")\n    .limit(10)\n    .offset(50)\n    .buildPreparedStatement(connection);\n```\n\nFor details look at the docs.\n\nCommon gradle tasks\n==\n* `build`\n* `test`\n* `publishToMavenLocal`\n\n ","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimur-sh%2Fqueryman-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimur-sh%2Fqueryman-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimur-sh%2Fqueryman-builder/lists"}