{"id":32215997,"url":"https://github.com/cellbis/cellbis-sql-abstract","last_synced_at":"2025-10-22T07:54:48.500Z","repository":{"id":56841045,"uuid":"139801166","full_name":"CellBIS/CellBIS-SQL-Abstract","owner":"CellBIS","description":"SQL Query Generator","archived":false,"fork":false,"pushed_at":"2021-04-08T21:35:49.000Z","size":114,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T07:54:38.317Z","etag":null,"topics":["sql-abstraction","sql-query"],"latest_commit_sha":null,"homepage":"https://metacpan.org/pod/CellBIS::SQL::Abstract","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CellBIS.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-05T05:56:16.000Z","updated_at":"2021-04-08T21:35:51.000Z","dependencies_parsed_at":"2022-08-29T12:50:27.622Z","dependency_job_id":null,"html_url":"https://github.com/CellBIS/CellBIS-SQL-Abstract","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/CellBIS/CellBIS-SQL-Abstract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CellBIS%2FCellBIS-SQL-Abstract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CellBIS%2FCellBIS-SQL-Abstract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CellBIS%2FCellBIS-SQL-Abstract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CellBIS%2FCellBIS-SQL-Abstract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CellBIS","download_url":"https://codeload.github.com/CellBIS/CellBIS-SQL-Abstract/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CellBIS%2FCellBIS-SQL-Abstract/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280402184,"owners_count":26324587,"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","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["sql-abstraction","sql-query"],"created_at":"2025-10-22T07:54:47.076Z","updated_at":"2025-10-22T07:54:48.491Z","avatar_url":"https://github.com/CellBIS.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CellBIS::SQL::Abstract - SQL Query Generator ![linux](https://github.com/CellBIS/CellBIS-SQL-Abstract/workflows/linux/badge.svg)\n\nThe purpose of this module is to generate SQL Query. General queries has covered\n`insert`, `delete`, `update`, `select`, and **select** with **join** - (`select_join`).\nAnd the additional query has covered to create table\n\nYou can use this module for [Mojo::mysql](https://metacpan.org/pod/Mojo::mysql) \nor [DBI](https://metacpan.org/pod/DBI).\n\n## How to Install :\nFrom Source :\n```bash\ngit clone -b v1.5 git@github.com:CellBIS/CellBIS-SQL-Abstract.git\nperl Makefile.PL\nmake \u0026\u0026 make test\nmake install \u0026\u0026 make clean\n```\n\nwith `cpan` command :\n\n```bash\ncpan -i CellBIS::SQL::Abstract\n```\n\nwith `cpanm` command :\n\n```bash\ncpanm CellBIS::SQL::Abstract\n```\n\n## Synopsis Module :\n```perl\nuse CellBIS::SQL::Abstract\nmy $sql_abstract = CellBIS::SQL::Abstract-\u003enew;\n\n# For create table SQLite\nmy $sql_abstract = CellBIS::SQL::Abstract-\u003enew(db_type =\u003e 'sqlite');\n\n# Create Table\nmy $table_name = 'my_table_name'; # Table name.\nmy $col_list = []; # List of column table\nmy $col_attr = {}; # Attribute column table.\n\n# insert\nmy $table_name = 'my_table_name'; # Table name.\nmy $column = []; # List of column in the table (array ref data type)\nmy $value = []; # Value of column (array ref data type)\n$sql_abstract-\u003einsert($table_name, $column, $value);\n\n# update\nmy $table_name = 'my_table_name'; # Table name.\nmy $column = []; # List of column in the table (array ref data type)\nmy $value = []; # Value of column (array ref data type)\nmy $clause = {}; # Clause of SQL Query, like where, order by, group by, and etc.\n$sql_abstract-\u003eupdate($table_name, $column, $value, $clause);\n\n# delete\nmy $table_name = 'my_table_name'; # Table name.\nmy $clause = {}; # Clause of SQL Query, like where, order by, group by, and etc.\n$sql_abstract-\u003edelete($table_name, $clause);\n\n# select\nmy $table_name = 'my_table_name'; # Table name.\nmy $column = []; # List of column in the table (array ref data type)\nmy $clause = {}; # Clause of SQL Query, like where, order by, group by, and etc.\n$sql_abstract-\u003eselect($table_name, $column, $clause);\n\n# select_join\nmy $table_list = []; # List of table. (array ref data type)\nmy $column = []; # List of column to select. (array ref data type)\nmy $clause = {}; # Clause of SQL Query.\n$sql_abstract-\u003eselect_join($table_list, $column, $clause);\n```\n\nFor more information you can see on [CPAN](https://metacpan.org/pod/CellBIS::SQL::Abstract).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcellbis%2Fcellbis-sql-abstract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcellbis%2Fcellbis-sql-abstract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcellbis%2Fcellbis-sql-abstract/lists"}