<    March 2017    >
Su Mo Tu We Th Fr Sa  
          1  2  3  4  
 5  6  7  8  9 10 11  
12 13 14 15 16 17 18  
19 20 21 22 23 24 25  
26 27 28 29 30 31
00:22 deric_skibotn joined
00:23 <deric_skibotn> How would I use sequel to formulate the query ((A or B) and C) or D ?
00:23 <deric_skibotn> that was `((A or B ) and C) or D`
00:24 <deric_skibotn> I inherited the first part as `Sequel.or({Avar: Aval, Bvar: Bval}).&(C)`
00:26 <deric_skibotn> More specifically, I want it to be like so:
00:27 <deric_skibotn> Sequel.or({Avar: Aval, Bvar:Bval}).&(Cvar: Cval)
00:27 <deric_skibotn> and the "D" clause is `id in <Array>`
00:29 <deric_skibotn> My partner figured it out:
00:29 <deric_skibotn> filter = Sequel.or(A).&(B )
00:30 <deric_skibotn> filter = filter.|(dval: darray)
01:00 deric_skibotn left
01:22 aidalgol joined
01:26 filterfish joined
02:52 pabloh joined
04:35 filterfish joined
07:52 glennpratt joined
08:27 ta_ joined
08:36 glennpratt joined
10:24 glennpratt joined
11:01 <Bish> oh he is gone :( was just going to help him
11:18 glennpratt joined
12:12 glennpratt joined
13:07 glennpratt joined
14:01 glennpratt joined
14:52 glennpratt joined
14:58 Takumo joined
14:58 Takumo joined
15:41 nirvdrum joined
15:45 ta_ joined
15:53 GitHub28 joined
15:53 <GitHub28> [13sequel] 15chuhn opened issue #1321: ORA-00907: missing right parenthesis with select on Oracle 02https://git.io/vyaJ0
15:53 GitHub28 left
16:15 Bish joined
16:29 Bish joined
16:47 dreinull joined
16:48 <dreinull> I'm running an app inside a docker container and today I began seeing this error message: Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') LIMIT 1' at line 1
16:48 <dreinull> And it refers to this line: versetzung = Versetzung.eager(:fachklasse).first(:Klasse => klassenbezeichnung)
16:49 <dreinull> I didn't change anything. And it has been working like forever without any issues.
16:50 <dreinull> Is this something I can solve within my app with sequel or do I have to research what happened to my docker build?
16:56 <dreinull> ok, I might have an issue with my newly introduced Null objects. hmph
17:32 GitHub78 joined
17:32 <GitHub78> [13sequel] 15jeremyevans closed issue #1321: ORA-00907: missing right parenthesis with select on Oracle 02https://git.io/vyaJ0
17:32 GitHub78 left
17:33 GitHub23 joined
17:33 <GitHub23> [13sequel] 15jeremyevans commented on issue #1321: You should pass `select` separate arguments, not an array:... 02https://git.io/vyazb
17:33 GitHub23 left
17:42 GitHub69 joined
17:42 <GitHub69> [13sequel] 15chuhn commented on issue #1321: I see. What I want to do is to pass a dynamic list of columns to select:... 02https://git.io/vya29
17:42 GitHub69 left
17:46 GitHub60 joined
17:46 <GitHub60> [13sequel] 15chuhn commented on issue #1321: Sorry, didn't read your comment properly.... 02https://git.io/vyaa2
17:46 GitHub60 left
17:47 GitHub194 joined
17:47 <GitHub194> [13sequel] 15chuhn commented on issue #1321: Sorry, didn't read your comment properly.... 02https://git.io/vyaa2
17:47 GitHub194 left
18:03 AYGHOR joined
18:03 <dreinull> ok, sorry, fixed it. Weird bug which depended on nil which doesn't happen with Null Objects.
18:14 glennpratt joined
19:26 glennpratt joined
21:40 aguynamedryan joined
23:47 aguynamedryan_ joined