{"library":{"repo":"mojo-lang/db","description":"db package for the mojo-lang","created_at":"2021-12-19T05:31:21Z","first_seen":"2023-09-25T05:33:25Z","found_by":"name / language","stars":0,"forks":1,"license":"","size_kb":1602,"commits":37,"mojo_lines":2298,"mojo_files":109,"tooling":"none","packaging":"none","mojo_version":"","version_source":"","version_file":"","version_estimate":"0.3","version_estimate_source":"date","topics":[],"stats_as_of":"2026-11-23","open_issues":0,"watchers":1,"archived":false,"state":"ok","renamed_to":"","aliases":[],"declared_deps":0,"depends_on":[],"used_by":[],"used_by_forks":[],"second_degree":[],"dependencies":[],"category":"tooling"},"migrations":[],"commits":[{"at":"2021-12-19T05:39:05Z","sha":"f6791b78532d0f1df4776a7d97a0ee2887a23b92","mojo_lines":40,"tooling":"none","mojo_version":"","subject":"first commit","type":"other","secondary":[],"typed_by":"rules"},{"at":"2021-12-20T01:00:07Z","sha":"839c667a9a726d67a2a632d122d3a8bbceb6f716","mojo_lines":40,"tooling":"none","mojo_version":"","subject":"replace the uni_record_data by mojo generated.","type":"chore","secondary":[],"typed_by":"files"},{"at":"2021-12-23T01:10:59Z","sha":"48e28cb35b7325625871d330977a4aea9ae5e0d1","mojo_lines":40,"tooling":"none","mojo_version":"","subject":"add a DeleteTimeTypeName define","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2022-02-08T12:16:39Z","sha":"b57d1aadc77bf6131fa0f47790e77abcf2851918","mojo_lines":40,"tooling":"none","mojo_version":"","subject":"add primary_key and reference attribute name definitions","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2022-03-14T09:04:43Z","sha":"c96f4a28e2a8af6080842dfe9d1af2f925c7a0d2","mojo_lines":40,"tooling":"none","mojo_version":"","subject":"1. update the gorm to 2.23 2. add a db.reference attribute util","type":"chore","secondary":[],"typed_by":"files"},{"at":"2022-03-16T07:58:21Z","sha":"0c529fdd33071f9fdbed20119ffe71ab7d0b053e","mojo_lines":40,"tooling":"none","mojo_version":"","subject":"1. rename the DeleteTimeTypeName to DeleteTimeTypeFullName 2. gofmt for all files","type":"chore","secondary":[],"typed_by":"files"},{"at":"2022-04-05T01:15:11Z","sha":"a8bd7d7c094ac931214021b5798bb84543258f3c","mojo_lines":40,"tooling":"none","mojo_version":"","subject":"regenerate the proto files using protoc-gen-go v1.28.0, and change the receiver to x according to the pb.go","type":"chore","secondary":[],"typed_by":"files"},{"at":"2022-04-10T09:02:02Z","sha":"af2d7d08ff3f4d9e12cc370ab6d7cd80b3f891f7","mojo_lines":40,"tooling":"none","mojo_version":"","subject":"1. update the the JSONDbDataType implement 2. add db key attribute","type":"chore","secondary":[],"typed_by":"files"},{"at":"2022-04-13T06:25:14Z","sha":"bbefb98aa6793897ef618005a26c245c579ef93c","mojo_lines":40,"tooling":"none","mojo_version":"","subject":"add an interface implement for the UniRecordData","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2022-04-30T11:26:52Z","sha":"5a0f8261209ab767237d8eb041eaa3821994be7c","mojo_lines":40,"tooling":"none","mojo_version":"","subject":"refine the schema & markdown document","type":"docs","secondary":[],"typed_by":"files"},{"at":"2022-04-30T11:45:33Z","sha":"45cc8a55f5c307fcf98ced7dbbc10d57ce39ccc9","mojo_lines":40,"tooling":"none","mojo_version":"","subject":"add foreign key attribute","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2022-05-01T13:28:45Z","sha":"9f646bec5d675530b10018521c7ec4b2eea6b60c","mojo_lines":40,"tooling":"none","mojo_version":"","subject":"add a wrap struct for the gorm","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2022-05-04T07:10:50Z","sha":"5a8b9c78e2cd331c809125a8dccc33397767c869","mojo_lines":57,"tooling":"none","mojo_version":"","subject":"1. update the package.mojo for the updated mojo compiler 2. config file using mojo generated","type":"version","secondary":[],"typed_by":"rules"},{"at":"2022-07-08T07:36:36Z","sha":"d85468d4ceca110160e4b7876816166d83681461","mojo_lines":59,"tooling":"none","mojo_version":"","subject":"add disable_auto_migrate field for the DB config","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2022-10-24T02:47:29Z","sha":"2ed44d434afccd490ecebb8df68b965fd1d6664e","mojo_lines":1450,"tooling":"none","mojo_version":"","subject":"add the initial SQL AST definition, focus on select statement and expr","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2022-10-27T09:55:00Z","sha":"2ed4719d3273ff10616640ca8b74cdb314b34491","mojo_lines":1940,"tooling":"none","mojo_version":"","subject":"add more SQL AST definition (InsertStmt, UpdateStmt, DeleteStmt)","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2022-11-04T07:40:28Z","sha":"3756e23edfab6900feb7c61b82b3bebd06485b90","mojo_lines":2295,"tooling":"none","mojo_version":"","subject":"update SQL AST Expression definition, and update the java package from mojo-lang to mojolang","type":"other","secondary":[],"typed_by":"rules"},{"at":"2022-11-04T07:42:40Z","sha":"d635b6808e592ca865f2ba1d98d425a6e3811d9e","mojo_lines":2295,"tooling":"none","mojo_version":"","subject":"update go mod file","type":"chore","secondary":[],"typed_by":"files"},{"at":"2022-11-07T02:27:20Z","sha":"7a4764ef511022b051090591511d226d11bbe67a","mojo_lines":2295,"tooling":"none","mojo_version":"","subject":"unify the new function name of SQL Boolean","type":"chore","secondary":[],"typed_by":"files"},{"at":"2023-03-17T01:51:21Z","sha":"444a0bd3401be7667f2646a0763db684770f1de7","mojo_lines":2297,"tooling":"none","mojo_version":"","subject":"bump the protoc from v3.19.4 to v3.21.12","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2023-04-27T07:26:35Z","sha":"97b0d16a2cfe4b14860e920c072b4466af705973","mojo_lines":2297,"tooling":"none","mojo_version":"","subject":"1. bump the go mod version form 1.16 to 1.18 2. regenerate the protobuf, rename String() to ToText() for more pretty encoding in logs.","type":"chore","secondary":[],"typed_by":"files"},{"at":"2023-04-27T07:36:37Z","sha":"d14a5dec8a17fca8f495253572a4bc047bf51267","mojo_lines":2297,"tooling":"none","mojo_version":"","subject":"1. unify the receiver for the DeleteTime 2. add more unit test for DeleteTime","type":"chore","secondary":[],"typed_by":"files"},{"at":"2023-04-27T10:08:02Z","sha":"d945e09a3155b41fc8ba86d731dd79d483710ed2","mojo_lines":2297,"tooling":"none","mojo_version":"","subject":"update the core & lang packages.","type":"chore","secondary":[],"typed_by":"files"},{"at":"2023-09-25T06:24:52Z","sha":"fd9484f4f24c8669c55f11557d21634258f553df","mojo_lines":2298,"tooling":"none","mojo_version":"","subject":"Merge pull request #1 from smilextay/main","type":"merge","secondary":[],"typed_by":"rules"},{"at":"2023-10-10T08:26:19Z","sha":"1822aed7c28ff07cc70ae64711553600081a8872","mojo_lines":2298,"tooling":"none","mojo_version":"","subject":"rollback the ToText() to String() in proto message.","type":"chore","secondary":[],"typed_by":"files"},{"at":"2024-07-17T08:11:37Z","sha":"04f474db35574c5d3abd042d1c181977987792e4","mojo_lines":2298,"tooling":"none","mojo_version":"","subject":"Feat: add Query module for common sql searching, including pagination, field mask, order, filter.","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2024-07-26T07:05:42Z","sha":"d47965f405943db24f3103a481a5666933e353d7","mojo_lines":2298,"tooling":"none","mojo_version":"","subject":"improve auto add % to the keyword string when using the ~=(like) expression.","type":"chore","secondary":[],"typed_by":"files"},{"at":"2024-07-29T13:05:51Z","sha":"72cdca788c17c6bc1bfbe9171dd272afd9192056","mojo_lines":2298,"tooling":"none","mojo_version":"","subject":"improve: rename generateFilterQuery to GenerateExpressionQuery","type":"refactor","secondary":[],"typed_by":"rules"},{"at":"2024-08-07T12:18:57Z","sha":"107d18e42a064c108a918c180e8783c0da346ede","mojo_lines":2298,"tooling":"none","mojo_version":"","subject":"fix: add apply only for total count when query with pagination.","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2024-09-30T13:36:12Z","sha":"a16e064e89aa5d99fb41be5951b88fe91c14dd79","mojo_lines":2298,"tooling":"none","mojo_version":"","subject":"improve: add calculated fields for the Query, you can use this to add function for selection, like count(*), sum(field) ...","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2024-11-01T07:34:35Z","sha":"aff7b1de9228d2da8e8ccaaf3493487fd1e8380c","mojo_lines":2298,"tooling":"none","mojo_version":"","subject":"improve: Query support complicated column like string array, right now support the Postgres first.","type":"chore","secondary":[],"typed_by":"files"},{"at":"2024-11-01T07:35:05Z","sha":"29cb3d610a5d951b23d70a4a2172d56332725507","mojo_lines":2298,"tooling":"none","mojo_version":"","subject":"update the go version to 1.21, and update dependencies.","type":"chore","secondary":[],"typed_by":"files"},{"at":"2024-11-18T03:36:41Z","sha":"a6ab617644916605f36a1c79e0201fec6c8b737f","mojo_lines":2298,"tooling":"none","mojo_version":"","subject":"bump the gorm.io/driver/postgres to v1.5.9, fix the insufficient arguments error when auto migrate.","type":"migration","secondary":[],"typed_by":"rules"},{"at":"2024-11-21T07:41:08Z","sha":"50ee5e6736ca18393c76cd09d1666e71101bd109","mojo_lines":2298,"tooling":"none","mojo_version":"","subject":"fix the count for unique fields.","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2024-12-13T02:48:10Z","sha":"29d49fe538cb8ba747e38b4dc9b3da33b78d21d5","mojo_lines":2298,"tooling":"none","mojo_version":"","subject":"refactor the query module.","type":"refactor","secondary":[],"typed_by":"rules"},{"at":"2024-12-13T09:02:01Z","sha":"0ed8c21e930973bdaa59829e28e92c683e6d240a","mojo_lines":2298,"tooling":"none","mojo_version":"","subject":"remove to apply the fieldMask when using calculating mode.","type":"refactor","secondary":[],"typed_by":"rules"},{"at":"2025-10-15T08:52:21Z","sha":"d5bedcb1b6f8760076857b0bed306af5178e5473","mojo_lines":2298,"tooling":"none","mojo_version":"","subject":"fix bug in field calculate and query","type":"fix","secondary":[],"typed_by":"rules"}],"activity":[{"month":"2023-03","stars":0,"forks":0,"releases":0,"issues_opened":0,"prs_opened":0,"pushes":1,"days_active":1},{"month":"2023-04","stars":0,"forks":0,"releases":0,"issues_opened":0,"prs_opened":0,"pushes":2,"days_active":1},{"month":"2023-09","stars":0,"forks":1,"releases":0,"issues_opened":0,"prs_opened":1,"pushes":1,"days_active":1},{"month":"2023-10","stars":0,"forks":0,"releases":0,"issues_opened":0,"prs_opened":0,"pushes":1,"days_active":1},{"month":"2024-07","stars":0,"forks":0,"releases":0,"issues_opened":0,"prs_opened":0,"pushes":3,"days_active":3},{"month":"2024-09","stars":0,"forks":0,"releases":0,"issues_opened":0,"prs_opened":0,"pushes":1,"days_active":1},{"month":"2024-11","stars":0,"forks":0,"releases":0,"issues_opened":0,"prs_opened":0,"pushes":3,"days_active":3},{"month":"2024-12","stars":0,"forks":0,"releases":0,"issues_opened":0,"prs_opened":0,"pushes":2,"days_active":1}],"releases":[],"issues":{"open_issues":0,"closed_issues":0,"open_prs":0,"merged_prs":1,"closed_prs":0,"recent_open_issues":[],"recent_prs":[{"number":1,"title":"dm support","state":"closed","labels":[],"author":"smilextay","comments":0,"created_at":"2023-09-25T06:19:47Z","updated_at":"2023-09-25T06:24:52Z","closed_at":"2023-09-25T06:24:52Z","merged_at":"2023-09-25T06:24:52Z"}]},"contributors":{"total":3,"months":[{"month":"2021-12","active":1,"new":1},{"month":"2022-02","active":1,"new":0},{"month":"2022-03","active":1,"new":0},{"month":"2022-04","active":1,"new":0},{"month":"2022-05","active":2,"new":1},{"month":"2022-07","active":1,"new":0},{"month":"2022-10","active":1,"new":0},{"month":"2022-11","active":1,"new":0},{"month":"2023-03","active":1,"new":0},{"month":"2023-04","active":1,"new":0},{"month":"2023-09","active":2,"new":1},{"month":"2023-10","active":1,"new":0},{"month":"2024-07","active":1,"new":0},{"month":"2024-08","active":1,"new":0},{"month":"2024-09","active":1,"new":0},{"month":"2024-11","active":1,"new":0},{"month":"2024-12","active":1,"new":0},{"month":"2025-10","active":1,"new":0}]},"over_time":{"lines_of_mojo":2298,"commits":{"total":37,"months":[{"month":"2021-12","commits":3,"cumulative":3},{"month":"2022-01","commits":0,"cumulative":3},{"month":"2022-02","commits":1,"cumulative":4},{"month":"2022-03","commits":2,"cumulative":6},{"month":"2022-04","commits":5,"cumulative":11},{"month":"2022-05","commits":2,"cumulative":13},{"month":"2022-06","commits":0,"cumulative":13},{"month":"2022-07","commits":1,"cumulative":14},{"month":"2022-08","commits":0,"cumulative":14},{"month":"2022-09","commits":0,"cumulative":14},{"month":"2022-10","commits":2,"cumulative":16},{"month":"2022-11","commits":3,"cumulative":19},{"month":"2022-12","commits":0,"cumulative":19},{"month":"2023-01","commits":0,"cumulative":19},{"month":"2023-02","commits":0,"cumulative":19},{"month":"2023-03","commits":1,"cumulative":20},{"month":"2023-04","commits":3,"cumulative":23},{"month":"2023-05","commits":0,"cumulative":23},{"month":"2023-06","commits":0,"cumulative":23},{"month":"2023-07","commits":0,"cumulative":23},{"month":"2023-08","commits":0,"cumulative":23},{"month":"2023-09","commits":1,"cumulative":24},{"month":"2023-10","commits":1,"cumulative":25},{"month":"2023-11","commits":0,"cumulative":25},{"month":"2023-12","commits":0,"cumulative":25},{"month":"2024-01","commits":0,"cumulative":25},{"month":"2024-02","commits":0,"cumulative":25},{"month":"2024-03","commits":0,"cumulative":25},{"month":"2024-04","commits":0,"cumulative":25},{"month":"2024-05","commits":0,"cumulative":25},{"month":"2024-06","commits":0,"cumulative":25},{"month":"2024-07","commits":3,"cumulative":28},{"month":"2024-08","commits":1,"cumulative":29},{"month":"2024-09","commits":1,"cumulative":30},{"month":"2024-10","commits":0,"cumulative":30},{"month":"2024-11","commits":4,"cumulative":34},{"month":"2024-12","commits":2,"cumulative":36},{"month":"2025-01","commits":0,"cumulative":36},{"month":"2025-02","commits":0,"cumulative":36},{"month":"2025-03","commits":0,"cumulative":36},{"month":"2025-04","commits":0,"cumulative":36},{"month":"2025-05","commits":0,"cumulative":36},{"month":"2025-06","commits":0,"cumulative":36},{"month":"2025-07","commits":0,"cumulative":36},{"month":"2025-08","commits":0,"cumulative":36},{"month":"2025-09","commits":0,"cumulative":36},{"month":"2025-10","commits":1,"cumulative":37}]},"issues":{"total":1,"counts":"issues and pull requests","months":[{"month":"2023-09","opened":1,"closed":1,"cumulative_opened":1,"cumulative_closed":1}]}},"similar":[{"repo":"tyukei/mojo-db","score":0.8918784},{"repo":"LandMineDevelopment/Mojo-Database","score":0.8842112},{"repo":"phomola/mojolibs","score":0.8611833},{"repo":"avitkauskas/mojo-datastructs","score":0.8531084},{"repo":"bgreni/EmberSerde","score":0.85070276}],"similar_from":{"model":"bge-small-en-v1.5","model_rev":"bbddccb7d85cc5e6","snapshot":3454761910736014829,"categories_version":1}}