Path: csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'received:209.85.223': 0.03; '*not*': 0.07; 'json': 0.07; 'preference': 0.07; 'mysql.': 0.09; 'postgresql,': 0.09; 'rewrite': 0.09; 'cc:addr:python-list': 0.11; 'assume': 0.14; 'db2,': 0.16; 'disregard': 0.16; 'fine.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'json,': 0.16; 'sqlite': 0.16; 'subject:dates': 0.16; 'subject:sqlite3': 0.16; 'wrote:': 0.18; 'basically': 0.19; 'thu,': 0.19; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'fine': 0.24; 'file.': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'relational': 0.31; 'file': 0.32; 'received:209.85': 0.35; 'something': 0.35; 'point.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'interface,': 0.36; "didn't": 0.36; 'thanks': 0.36; 'received:209': 0.37; 'that,': 0.38; 'either': 0.39; 'even': 0.60; 'flat': 0.60; 'course': 0.61; 'complete': 0.62; 'more': 0.64; 'great': 0.65; 'nobody': 0.68; '2015': 0.84; 'blob': 0.84; 'comparable': 0.84; 'fact.': 0.84; 'fat': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=GdW7a+bvx2JTV/oGIJDunDE7bTbuks1DfTlgg8TGs3w=; b=jZg3xd5ntgMoTtceKQDovxqKj2lU7SBCuc2ce8YcDbP4SH8HKVvlOM3DRdIy1q+Mfr pNjS1Qi1bR7k+tuB0raK8jhc7e98EgVlPRu5m6DPHZUzo2SgJ71VJAEBsqRp4YFTD37Q pv9HFN6a4WV+Uqfn9vdXvEs6seZbVvKoi+7i4Nwk3Mhsa6Ea3+YASIacgHnmUyNqZA1l QZbi5uSo1nouCefbKOJEKdI+BbSPoHk4VdpiZ4h1uUglDdI6m9B0dwXTWyBdTUCQPqPz TWyKGRNiDAByYIFulq2vgEOzRoHlfnrQw2I/dAtDQN0ajczYCbcGybG3o1LNliPhac4/ kGqA== MIME-Version: 1.0 X-Received: by 10.50.79.161 with SMTP id k1mr3392676igx.14.1424299070048; Wed, 18 Feb 2015 14:37:50 -0800 (PST) In-Reply-To: <4154cc37-0bb0-4bf2-a52c-b728c737357c@googlegroups.com> References: <4154cc37-0bb0-4bf2-a52c-b728c737357c@googlegroups.com> Date: Thu, 19 Feb 2015 09:37:49 +1100 Subject: Re: sqlite3 and dates From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1424299073 news.xs4all.nl 2847 [2001:888:2000:d::a6]:50902 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85828 On Thu, Feb 19, 2015 at 9:17 AM, wrote: >> SQLite3 is fine for something that's basically just a more structured >> version of a flat file. You assume that nobody but you has the file >> open, and you manipulate it just the same as if it were a big fat blob >> of JSON, but thanks to SQLite, you don't have to rewrite the whole >> file every time you make a small change. That's fine. > > That's bullshit. Sqlite offers a lot more than that including > a SQL interface, transactions, referential integrity, constraints > indexes, triggers and other general relational database features. > > That you would equate that to a JSON blob would indicate either > a profound ignorance about Sqlite or (more likely) a need to > defend your preference with complete disregard of fact. I didn't equate them. I said that SQLite3 is great if you look on it as an upgrade over a JSON blob. Of course it offers more features than that, and you don't need to swear at me to make your point. But SQLite3 is *not* great if you look on it as a database engine comparable with DB2, PostgreSQL, and even MySQL. ChrisA