Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Iiiiiiiii po co plusik w wyrażeniu regularnym?;)
I've changed the name to "movies", because I was testing the solution on my machine and I had commit included in my solution. But so far as I remember even without con.commit() the data on the localhost was saved on each run of the program and I wasn't then clearing the database, but nevermind.
One thing is pretty funny - how am I suposed to pass test 2 if the data is not sorted in any way. Proof:
BTW I think teaching people to name tables in databases in uppercase is bad habbit. ;)
I wrote some hints for you... please send me a message if you have any more questions. http://www.codewars.com/kumite/53f0187ab9cb37ba2300030d?sel=53f0187ab9cb37ba2300030d
This comment is hidden because it contains spoiler information about the solution
Well, the instructions were pretty straight forward. If you want to write your own tests as you work on it, you can share them as a kumite and I can put them in...
How am I supossed to pass this kata? Should I write my own test cases to pass it?