{"id":17145120,"url":"https://github.com/crufter/resolver","last_synced_at":"2025-09-01T20:44:43.647Z","repository":{"id":3826209,"uuid":"4906978","full_name":"crufter/resolver","owner":"crufter","description":"Automatic resolution of MongoDb foreign keys without DBRefs.","archived":false,"fork":false,"pushed_at":"2012-09-14T11:52:49.000Z","size":140,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T03:56:07.532Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crufter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-07-05T13:35:57.000Z","updated_at":"2014-11-08T20:36:11.000Z","dependencies_parsed_at":"2022-09-01T08:20:53.413Z","dependency_job_id":null,"html_url":"https://github.com/crufter/resolver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crufter%2Fresolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crufter%2Fresolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crufter%2Fresolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crufter%2Fresolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crufter","download_url":"https://codeload.github.com/crufter/resolver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245249528,"owners_count":20584553,"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":[],"created_at":"2024-10-14T21:04:37.007Z","updated_at":"2025-03-24T10:22:58.069Z","avatar_url":"https://github.com/crufter.png","language":"Go","readme":"resolver\n========\n\nMongodb database references without DBRefs, and automatic resolution of them.\n\nWhat does it do?\n========\nYou pass in a *mgo.Database (db) and a query result (v) to\n```\nresolver.Resolve(db, v, nil)\n```\n\nAnd this package will resolve all \"foreign key references\" which value is an instance of bson.ObjectId, and which key has the form of:\n```\n\"_collName\"\n// or\n\"_collName_customFieldName\"\t// In case of there are more than one reference to a given collection in a document.\n```\n\nThe value can be a single bson.ObjectId or a []bson.ObjectId.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrufter%2Fresolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrufter%2Fresolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrufter%2Fresolver/lists"}