summaryrefslogblamecommitdiffstats
path: root/archives/extend/2013-January/000035.html
blob: 0bc878fcf49a1b3117cba2d6613aeba4190dc77c (plain) (tree)














































































                                                                                                                                                                                                                 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
 <HEAD>
   <TITLE> [99s-extend] Cowboy, how call my database select function
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%2C%20how%20call%20my%20database%20select%20function&In-Reply-To=%3C1816031357681016%40web3d.yandex.ru%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <style type="text/css">
       pre {
           white-space: pre-wrap;       /* css-2.1, curent FF, Opera, Safari */
           }
   </style>
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000034.html">
   <LINK REL="Next"  HREF="000036.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[99s-extend] Cowboy, how call my database select function</H1>
    <B>&#1050;&#1086;&#1079;&#1083;&#1086;&#1074; &#1042;&#1103;&#1095;&#1077;&#1089;&#1083;&#1072;&#1074;</B> 
    <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%2C%20how%20call%20my%20database%20select%20function&In-Reply-To=%3C1816031357681016%40web3d.yandex.ru%3E"
       TITLE="[99s-extend] Cowboy, how call my database select function">kozlov-ter at yandex.ru
       </A><BR>
    <I>Tue Jan  8 22:36:56 CET 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="000034.html">[99s-extend] Call for testers: middleware support
</A></li>
        <LI>Next message: <A HREF="000036.html">[99s-extend] Cowboy, how call my database select function
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#35">[ date ]</a>
              <a href="thread.html#35">[ thread ]</a>
              <a href="subject.html#35">[ subject ]</a>
              <a href="author.html#35">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Hello!
Prompt please, beginning to study the Erlang.
I have a library for working with &#1045;Redis.
Plugged it into the project Cowboy with the help of Rebar.
After the launch of a Cowboy through the script in the console ERL, I see that the function (eredis_db:get_script) is  works and I get the desired result:

EDB R15B03 (erts-5.9.3.1) [source] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.9.3.1 (abort with ^G)
1&gt; eredis_db:get_script(&quot;example&quot;, &quot;test&quot;).

Tell me how can I use this function in a Cowboy, in hendlers.
I hope I could explain clearly.
-- 
Engineer CAM 
Vyacheslav Kozlov 
LLC &quot;TER&quot; 
<A HREF="http://www.ter-energo.ru">http://www.ter-energo.ru</A>
tel.+7910909xxxx

</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000034.html">[99s-extend] Call for testers: middleware support
</A></li>
	<LI>Next message: <A HREF="000036.html">[99s-extend] Cowboy, how call my database select function
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#35">[ date ]</a>
              <a href="thread.html#35">[ thread ]</a>
              <a href="subject.html#35">[ subject ]</a>
              <a href="author.html#35">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>