{"id":18271892,"url":"https://github.com/pokeb/egodatabase","last_synced_at":"2025-04-05T02:30:47.306Z","repository":{"id":66316566,"uuid":"436507","full_name":"pokeb/egodatabase","owner":"pokeb","description":"SQLite Cocoa Wrapper","archived":false,"fork":true,"pushed_at":"2009-12-14T13:18:39.000Z","size":95,"stargazers_count":26,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-05T11:54:22.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://developers.enormego.com","language":"Objective-C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"enormego/egodatabase","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pokeb.png","metadata":{"files":{"readme":"README.markdown","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":"2009-12-14T12:32:07.000Z","updated_at":"2019-08-13T14:29:53.000Z","dependencies_parsed_at":"2023-02-20T02:00:29.378Z","dependency_job_id":null,"html_url":"https://github.com/pokeb/egodatabase","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/pokeb%2Fegodatabase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pokeb%2Fegodatabase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pokeb%2Fegodatabase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pokeb%2Fegodatabase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pokeb","download_url":"https://codeload.github.com/pokeb/egodatabase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247279294,"owners_count":20912857,"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-11-05T11:39:34.595Z","updated_at":"2025-04-05T02:30:46.423Z","avatar_url":"https://github.com/pokeb.png","language":"Objective-C","funding_links":[],"categories":["etc"],"sub_categories":[],"readme":"# About EGODatabase\nEGODatabase is a thread-safe Objective SQLite wrapper created by enormego.  After extensively using FMDB in our applications, we saw a lot of room for improvements, the biggest was making it thread-safe.  EGODatabase uses some code from FMDB, but for the most part, it was completely reworked to use result sets and row objects.  A major difference between FMDB and EGODatabase is when selecting data, EGODatabase populates its EGODatabaseRow class with the data from SQLite, as opposed to retaining the SQLite results like FMDB does.\n\nEGODatabase is tested to work with with iPhone OS and Mac OS X 10.5\n\n# Classes\n## EGODatabase\nThis is the class where you'll open your SQLite database file and execute queries through.\n\n## EGODatabaseResult\nThis is the class returned by EGODatabase when running \"executeQuery:\".  It supports fast enumeration, and contains properties for the column names, column types, rows, and errors if there are any.\n\n## EGODatabaseRow\nEvery object that EGODatabaseResult contains, is an EGODatabaseRow.  This is your raw data for each row.  You'll be able to return specific types based on different methods such as intForColumn: or dateForColumn:.  Check out the header files for a complete listing.\n\n# Documentation\nCheck out each header file for a complete listing of each method.\n\n# Example\n\tEGODatabase* database = [EGODatabase databaseWithPath:[NSHomeDirectory() stringByAppendingPathComponent:@\"Documents/database.db\"]];\n\tEGODatabaseResult* result = [database executeQuery:@\"SELECT * FROM `posts` WHERE `post_user_id` = ?\", [NSNumber numberWithInt:10]];\n\tfor(EGODatabaseRow* row in result) {\n\t\tNSLog(@\"Subject: %@\", [row stringForColumn:@\"post_subject\"]);\n\t\tNSLog(@\"Date: %@\", [row dateForColumn:@\"post_date\"]);\n\t\tNSLog(@\"Views: %d\", [row intForColumn:@\"post_views\"]);\n\t\tNSLog(@\"Message: %@\", [row stringForColumn:@\"post_message\"]);\n\t}\n\t\n# Note\nRemember to link libsqlite3.dylib to your project!\n\n# Questions\nFeel free to contact info@enormego.com if you need any help with EGODatabase.\n\n# License\nCopyright (c) 2009 enormego\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpokeb%2Fegodatabase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpokeb%2Fegodatabase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpokeb%2Fegodatabase/lists"}